diff --git a/qgroundcontrol.pro b/qgroundcontrol.pro index 43bb37c29c7ade0a16dc568e4a84e25446bfd814..ecb2a9729da3d60d927f84ef0cad99324b909e70 100644 --- a/qgroundcontrol.pro +++ b/qgroundcontrol.pro @@ -7,14 +7,16 @@ # License terms set in COPYING.md # ------------------------------------------------- +QMAKE_PROJECT_DEPTH = 0 # undocumented qmake flag to force absolute paths in make files + exists($${OUT_PWD}/qgroundcontrol.pro) { error("You must use shadow build (e.g. mkdir build; cd build; qmake ../qgroundcontrol.pro).") } message(Qt version $$[QT_VERSION]) -!equals(QT_MAJOR_VERSION, 5) | !greaterThan(QT_MINOR_VERSION, 6) { - error("Unsupported Qt version, 5.7+ is required") +!equals(QT_MAJOR_VERSION, 5) | !greaterThan(QT_MINOR_VERSION, 8) { + error("Unsupported Qt version, 5.9+ is required") } include(QGCCommon.pri) @@ -207,8 +209,7 @@ contains(DEFINES, ENABLE_VERBOSE_OUTPUT) { } else:exists(user_config.pri):infile(user_config.pri, DEFINES, ENABLE_VERBOSE_OUTPUT) { message("Enable verbose compiler output (manual override from user_config.pri)") } else { -CONFIG += \ - silent + CONFIG += silent } QT += \