diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-08 06:45:27 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-08 06:45:27 +0000 |
| commit | caf8bfb50c950b385edb8ec5265c51ae6c74438f (patch) | |
| tree | d1c5feea942cb88cadb3dbd19ba53203bae7cdc7 /example/example.pri | |
| parent | 6c7caacc78493d9d87abd1219b89442bb4415f84 (diff) | |
| download | qxmpp-caf8bfb50c950b385edb8ec5265c51ae6c74438f.tar.gz | |
revert changes to library linking, document why
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 |
