~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk-ota14

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# sets projectwide variables and implicitely
# enables qmake to lookup the projectroot/features
# directory for possible feature files
#
# Any variable specified here, must be set manually
# inside the debian/rules file

load(qt_build_config)
CONFIG += warning_clean

MODULE_VERSION = 5.5.0

ROOT_SOURCE_DIR=$$PWD
ROOT_BUILD_DIR=$$shadowed($$PWD)

exists($$PWD/../qt.pro) {
    CONFIG += build_with_qt
}

*-g++* {
    GCC4 = $$system( gcc -dumpversion | grep "^4.[0-9]" )
    if (isEmpty(GCC4)) {
        QMAKE_CXXFLAGS += -Wsuggest-override
    }
}