/
common-config.pri
44 lines (34 loc) · 864 Bytes
1
2
3
4
5
6
#
# Common configuration options
#
#
7
QT += dbus
8
QT -= gui
9
CONFIG += debug
10
CONFIG += thread
11
12
# Maemo specific options
13
#CONFIG += contextprovider
14
15
16
17
18
19
20
21
# DEPRECATED: CompassChain is now provided by separate package
# sensorfw-plugins-compasslogic
### Note: compass now works for x86 and armel both. debian/rules takes care
### of figuring out which platform binary to pick. If building manually, the
### default is armel. If internal sensors are included in manual build for x86,
### uncomment the following line:
#### CONFIG+= x86build
22
23
24
25
26
27
28
29
30
profile {
QMAKE_CXXFLAGS += -pg
QMAKE_LFLAGS += -pg
}
profile-libc {
QMAKE_LFLAGS += -lc_p
}
31
32
33
34
equals(QT_MAJOR_VERSION, 5):{
TARGET = $$TARGET-qt5
}
35
36
37
OTHER_FILES += \
../../common.pri
38
39
40
41
42
43
contains(CONFIG,hybris) {
CONFIG += link_pkgconfig
PKGCONFIG += android-headers
PKGCONFIG += libhardware
}