CONFIG += c++11 top_srcdir=$$PWD top_builddir=$$shadowed($$PWD) VERSION_INFO=$$cat(version.txt) APP_VERSION=$$member(VERSION_INFO, 0) APP_REVISION=$$member(VERSION_INFO, 1) DEFINES+=APP_VERSION=\\\"$${APP_VERSION}\\\" # We want -Wall to keep the code clean and tidy, however: # On Windows, -Wall goes mental, so not using it there !win32:QMAKE_CXXFLAGS += -Wall # As of Qt 5.15, lots of things are deprecated inside Qt in preparation for Qt6 but no replacement to actually fix those yet. linux:!android { QMAKE_CXXFLAGS += -Wno-deprecated-declarations -Wno-deprecated-copy } android: { QMAKE_CXXFLAGS += -Wno-deprecated-declarations !equals(OVERLAY_PATH, ""):!equals(BRANDING, "") { ANDROID_PACKAGE_SOURCE_DIR = $${OVERLAY_PATH}/packaging/android_$$BRANDING } else { ANDROID_PACKAGE_SOURCE_DIR = $${top_srcdir}/packaging/android } !no-firebase:DEFINES+=WITH_FIREBASE } ios: { !no-firebase:DEFINES+=WITH_FIREBASE }