summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-03-22 15:51:16 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-23 11:45:25 +0100
commitb78e355fe5d786710727b89ee5931bea470167d5 (patch)
treed3bd52d19e47e26ffbc67c8a0ab6b9a833506905 /mkspecs/features
parentf956f9a83603a3df5651e3238c24e8df37558d6e (diff)
Only create cmake files if MODULE is set.
WinMain does not set MODULE, though it uses qt_module_config and generates incomplete cmake files in the wrong locations as a result. Change-Id: I5081a13a19469ab8cd01970a55684b8451bc79d7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@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 cae5f47387..75156a1f44 100644
--- a/mkspecs/features/qt_module_config.prf
+++ b/mkspecs/features/qt_module_config.prf
@@ -42,7 +42,7 @@ CONFIG -= fix_output_dirs
win32|mac:!macx-xcode:CONFIG += debug_and_release
linux*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
-CONFIG += create_cmake
+!isEmpty(MODULE):CONFIG += create_cmake
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions