From 563875bf29f9d6a573c10fd40a30bb0f552ab8d3 Mon Sep 17 00:00:00 2001 From: Andreas Holzammer Date: Wed, 25 Jul 2012 16:19:05 +0200 Subject: Fix debug and release build for Windows CE Change-Id: Idc3faa2c65f3e87aadf75c0c79f1581a24aff8ca Reviewed-by: Oswald Buddenhagen --- mkspecs/features/qt_module_config.prf | 2 +- mkspecs/features/qt_plugin.prf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mkspecs') diff --git a/mkspecs/features/qt_module_config.prf b/mkspecs/features/qt_module_config.prf index c4dfb193fe..5da4ca0f12 100644 --- a/mkspecs/features/qt_module_config.prf +++ b/mkspecs/features/qt_module_config.prf @@ -119,7 +119,7 @@ CONFIG += qmake_cache target_qt CONFIG -= fix_output_dirs # If Qt was configured with -debug-and-release then build the module the same way -if(win32|mac):!wince*:!macx-xcode { +if(win32|mac):!macx-xcode { contains(QT_CONFIG, debug_and_release):CONFIG += debug_and_release contains(QT_CONFIG, build_all):CONFIG += build_all } diff --git a/mkspecs/features/qt_plugin.prf b/mkspecs/features/qt_plugin.prf index 5c29b1d16b..0209910203 100644 --- a/mkspecs/features/qt_plugin.prf +++ b/mkspecs/features/qt_plugin.prf @@ -2,7 +2,7 @@ TEMPLATE = lib isEmpty(VERSION):VERSION = $$QT_VERSION CONFIG += qt plugin -if(win32|mac):!wince*:!macx-xcode { +if(win32|mac):!macx-xcode { contains(QT_CONFIG, debug_and_release):CONFIG += debug_and_release contains(QT_CONFIG, build_all):CONFIG += build_all } -- cgit v1.2.3