-
Notifications
You must be signed in to change notification settings - Fork 1
/
communi.pri
41 lines (36 loc) · 1.16 KB
/
communi.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
######################################################################
# Communi
######################################################################
!verbose:!symbian:CONFIG += silent
INCLUDEPATH += $$PWD/include
DEPENDPATH += $$PWD/include
!symbian {
CONFIG(debug, debug|release) {
OBJECTS_DIR = debug
MOC_DIR = debug
RCC_DIR = debug
UI_DIR = debug
} else {
OBJECTS_DIR = release
MOC_DIR = release
RCC_DIR = release
UI_DIR = release
}
}
isEmpty(COMMUNI_LIBDIR):COMMUNI_LIBDIR = $$PWD/lib
macx:!qt_no_framework {
QMAKE_LFLAGS += -F$$COMMUNI_LIBDIR # inject before system frameworks
LIBS += -framework Communi
install_name {
QMAKE_POST_LINK = install_name_tool -change \
"$$[QT_INSTALL_LIBS]/Communi.framework/Versions/1/Communi" \
"$$COMMUNI_LIBDIR/Communi.framework/Versions/1/Communi" $$TARGET
}
} else {
REAL_TEMPLATE = $$TEMPLATE
TEMPLATE = fakelib
QMAKE_LIBDIR += $$COMMUNI_LIBDIR # injects before system libdirs
LIBS += -l$$qtLibraryTarget(Communi)
TEMPLATE = $$REAL_TEMPLATE
!no_rpath:QMAKE_RPATHDIR += $$COMMUNI_LIBDIR
}