summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qlibrary/lib/lib.pro
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2012-02-28 12:58:02 +0200
committerQt by Nokia <qt-info@nokia.com>2012-02-28 12:45:28 +0100
commitb491d02eb3217e9b5b61a2b8f7c599080e8b8bdb (patch)
tree672f4e3453986ab41a190cacf7541466976da223 /tests/auto/corelib/plugin/qlibrary/lib/lib.pro
parent87366cc7ab7e2e5f23614a8501f33b6cb0b65f97 (diff)
Fix QLibrary autotest for Windows
The libraries were built into wrong directory in Windows. Fixed it so that the libraries are built into debug and release directories like the test executable. Also fixed QMAKE_CLEAN statement, which was using incorrect separator. Task-number: QTBUG-24151 Change-Id: Iade656af5f83ef2b79c2b9c4177df4a16b2f6821 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tests/auto/corelib/plugin/qlibrary/lib/lib.pro')
-rw-r--r--tests/auto/corelib/plugin/qlibrary/lib/lib.pro8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/corelib/plugin/qlibrary/lib/lib.pro b/tests/auto/corelib/plugin/qlibrary/lib/lib.pro
index d8551faddc..7a2b8cd3b6 100644
--- a/tests/auto/corelib/plugin/qlibrary/lib/lib.pro
+++ b/tests/auto/corelib/plugin/qlibrary/lib/lib.pro
@@ -13,3 +13,11 @@ win32-borland: DEFINES += WIN32_BORLAND
# This project is testdata for tst_qlibrary
target.path = $$[QT_INSTALL_TESTS]/tst_qlibrary
INSTALLS += target
+
+win32 {
+ CONFIG(debug, debug|release) {
+ DESTDIR = ../debug/
+ } else {
+ DESTDIR = ../release/
+ }
+}