From caf8bfb50c950b385edb8ec5265c51ae6c74438f Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Mon, 8 Mar 2010 06:45:27 +0000 Subject: revert changes to library linking, document why --- example/example.pri | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'example/example.pri') 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 -- cgit v1.2.3