From d7a59f7ef06e104fe09ea22f4246e57e1d11c6aa Mon Sep 17 00:00:00 2001 From: Ernesto De Stefano Date: Fri, 4 Mar 2016 10:30:10 +0100 Subject: [PATCH] Update src.pro For build debug and release: After you include qamqpInterface.pri, you will link debug and release library depending on the current qmake build configuration. --- src/src.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/src.pro b/src/src.pro index 2a5cdd1..356cb29 100644 --- a/src/src.pro +++ b/src/src.pro @@ -3,6 +3,9 @@ include(../qamqp.pri) INCLUDEPATH += . TEMPLATE = lib TARGET = qamqp +build_pass:CONFIG(debug, debug|release) { + TARGET = $$join(TARGET,,,d) +} QT += core network QT -= gui DEFINES += QAMQP_BUILD