aboutsummaryrefslogtreecommitdiff
path: root/examples/example.pri
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 16:59:48 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 16:59:48 +0000
commitdc09172eae673ad8a2447589ba859b9962598860 (patch)
tree8f319aba20a1bda317c79e34348a6b8faf0ade1e /examples/example.pri
parent323ce65bcf5fe2c82d16cf7efd7fa3bb1fe49359 (diff)
downloadqxmpp-dc09172eae673ad8a2447589ba859b9962598860.tar.gz
refactor qxmpp library name definition
Diffstat (limited to 'examples/example.pri')
-rw-r--r--examples/example.pri12
1 files changed, 3 insertions, 9 deletions
diff --git a/examples/example.pri b/examples/example.pri
index 70720602..6b31e46d 100644
--- a/examples/example.pri
+++ b/examples/example.pri
@@ -2,18 +2,12 @@ include(../qxmpp.pri)
TEMPLATE = app
-INCLUDEPATH += ../../source
+INCLUDEPATH += $$QXMPP_INCLUDE_DIR
QT += network xml
CONFIG += console
-CONFIG(debug, debug|release) {
- QXMPP_DIR = ../../source/debug
-} else {
- QXMPP_DIR = ../../source/release
-}
-
-LIBS += -L$$QXMPP_DIR -l$$QXMPP_LIB
-PRE_TARGETDEPS += $${QXMPP_DIR}/lib$${QXMPP_LIB}.a
+LIBS += -L$$QXMPP_LIBRARY_DIR -l$$QXMPP_LIB
+PRE_TARGETDEPS += $${QXMPP_LIBRARY_DIR}/lib$${QXMPP_LIB}.a