aboutsummaryrefslogtreecommitdiff
path: root/examples/example.pri
diff options
context:
space:
mode:
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