-
Notifications
You must be signed in to change notification settings - Fork 1
/
qxmpp.pri
36 lines (29 loc) · 1004 Bytes
/
qxmpp.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
# Common definitions
QT += network xml
QXMPP_INCLUDE_DIR = /usr/include/qxmpp
QXMPP_LIBRARY_DIR = /home/arvind/Downloads/qxmpp-0.2.91/lib
CONFIG(debug, debug|release) {
QXMPP_LIBRARY_NAME = qxmpp_d
} else {
QXMPP_LIBRARY_NAME = qxmpp
}
# Libraries used internal by QXmpp
symbian {
QXMPP_INTERNAL_LIBS = -lesock
}
# Libraries for apps which use QXmpp
symbian {
# Symbian needs a .lib extension to recognise the library as static
QXMPP_LIBS = -L$$QXMPP_LIBRARY_DIR -l$${QXMPP_LIBRARY_NAME}.lib
} else {
QXMPP_LIBS = -L$$QXMPP_LIBRARY_DIR -l$${QXMPP_LIBRARY_NAME}
}
# FIXME: we should be able to use the link_prl option to automatically pull
# in the extra libraries which the qxmpp library needs, but this does not
# seem to work on win32, so we specify the dependencies here:
QXMPP_LIBS += $$QXMPP_INTERNAL_LIBS
# Path of the QXmpp library file, for expressing dependency.
symbian {
} else:unix {
QXMPP_LIBRARY_FILE = $${QXMPP_LIBRARY_DIR}/lib$${QXMPP_LIBRARY_NAME}.a
}