diff options
Diffstat (limited to 'example/example.pri')
| -rw-r--r-- | example/example.pri | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/example/example.pri b/example/example.pri index d83d6d0f..81f91262 100644 --- a/example/example.pri +++ b/example/example.pri @@ -8,14 +8,12 @@ CONFIG += console debug_and_release CONFIG(debug, debug|release) { QXMPP_LIB = QXmppClient_d + QXMPP_DIR = ../../source/debug } else { QXMPP_LIB = QXmppClient + QXMPP_DIR = ../../source/release } -LIBS += -L../../source -l$$QXMPP_LIB -win32 { - PRE_TARGETDEPS += ../../source/${QXMPP_LIB}.lib -} else { - PRE_TARGETDEPS += ../../source/lib$${QXMPP_LIB}.a -} +LIBS += -L$$QXMPP_DIR -l$$QXMPP_LIB +PRE_TARGETDEPS += $${QXMPP_DIR}/lib$${QXMPP_LIB}.a |
