-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.pri
55 lines (43 loc) · 1.27 KB
/
config.pri
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
CONFIG += debug
CONFIG += linux
#CONFIG += linux_profiling
#CONFIG += maemo5
#CONFIG += symbian
SOURCE_DIR = $$PWD
#contains(QT_CONFIG, reduce_exports):CONFIG+=hide_symbols
contains(TEMPLATE,.*lib):DEFINES += QT_SHARED
#QMAKE_CXXFLAGS += -Werror
maemo5: {
DEFINES+= Q_WS_MAEMO_5
QMAKE_CXXFLAGS += -I/usr/include/glib-2.0 \
-I/usr/lib/glib-2.0/include \
-I/usr/include/gconf/2 \
-I/usr/include/dbus-1.0 \
-I/usr/lib/dbus-1.0/include
OBJECTS_DIR = .obj
MOC_DIR = .moc
QMAKE_CXXFLAGS += -Werror
}
symbian: {
#For some reason the default include path doesn't include MOC_DIR on symbian
OBJECTS_DIR = obj
MOC_DIR = moc
INCLUDEPATH += $$MOC_DIR
DEFINES+= Q_WS_SYMBIAN
}
linux: {
# QMAKE_CXX = g++-4.5
# QMAKE_LINK = g++-4.5
QMAKE_CXXFLAGS += -fpermissive -g3 -DREDEFINE_QT_SIGNALS -I/usr/local/include/libxml2 -Werror
INCLUDEPATH += /usr/local/include/libxml2/ INCLUDEPATH /usr/include/libxml2/
OBJECTS_DIR = .obj
MOC_DIR = .moc
}
linux_profiling: {
QMAKE_CXXFLAGS_DEBUG += -pg
QMAKE_LFLAGS_DEBUG += -pg
}
LIBS += -L$$SOURCE_DIR/src/lib
QMAKE_LIBDIR_QT = $$SOURCE_DIR/src/lib $$QMAKE_LIBDIR_QT
UI_HEADERS_DIR = inc
UI_SOURCES_DIR = src