summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-07-03 17:41:43 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-05 21:10:52 +0200
commit9c3b83437a4fd25a5c3e67e8cd9cd8c7aac8a3eb (patch)
treedb491ae3c20164184ff5d195e2239463dc9f1ef8 /mkspecs/features
parent5863103385c0d2fd42a2d6123f59e4668c60af2f (diff)
set DLLDESTDIR only for non-prefix builds
a prefix build needs to be installed first anyway Change-Id: I798861fddad2be289e9e4f182d0373e389b57437 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/qt_module_config.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_module_config.prf b/mkspecs/features/qt_module_config.prf
index 7dab4f4860..67db2093bd 100644
--- a/mkspecs/features/qt_module_config.prf
+++ b/mkspecs/features/qt_module_config.prf
@@ -113,7 +113,7 @@ load(qt_module_headers)
#other
TEMPLATE = lib
DESTDIR = $$eval(QT.$${MODULE}.libs)
-win32:!wince*: DLLDESTDIR = $$eval(QT.$${MODULE}.bins)
+win32:!wince*:exists($$[QT_INSTALL_PREFIX]/.qmake.cache): DLLDESTDIR = $$eval(QT.$${MODULE}.bins)
CONFIG += qt warn_on depend_includepath
CONFIG += qmake_cache target_qt