summaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-05-18 10:59:48 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-05-18 11:17:43 +0200
commitc50704d6c0ca07cb26942ee938bb875a855dc9bf (patch)
tree9337751f2d917628578875bda887cfb015c9748f /mkspecs
parent0415df85405432bc4bec98317521c9210303a872 (diff)
downloadqt4-tools-c50704d6c0ca07cb26942ee938bb875a855dc9bf.tar.gz
fix qmake -project once more
default_pre.prf adds "uic" and "resources" to CONFIG, but not "qt". as a consequence, the former do not find qtPrepareTool(), as nobody includes qt_functions.prf if no qmake spec is loaded. Reviewed-by: joerg
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/default_pre.prf1
-rw-r--r--mkspecs/features/resources.prf1
-rw-r--r--mkspecs/features/uic.prf1
3 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf
index 6442594240..2e82f03eb9 100644
--- a/mkspecs/features/default_pre.prf
+++ b/mkspecs/features/default_pre.prf
@@ -1,2 +1,3 @@
load(exclusive_builds)
+### Qt 5: remove "uic" and "resources" - or add "qt"
CONFIG = lex yacc warn_on debug uic resources $$CONFIG
diff --git a/mkspecs/features/resources.prf b/mkspecs/features/resources.prf
index 5d00a4df4b..a305a4f0eb 100644
--- a/mkspecs/features/resources.prf
+++ b/mkspecs/features/resources.prf
@@ -1,3 +1,4 @@
+defined(qtPrepareTool)|load(qt_functions) ### Qt 5: see default_pre.prf
qtPrepareTool(QMAKE_RCC, rcc)
isEmpty(RCC_DIR):RCC_DIR = .
diff --git a/mkspecs/features/uic.prf b/mkspecs/features/uic.prf
index d108f24f3d..c87372d063 100644
--- a/mkspecs/features/uic.prf
+++ b/mkspecs/features/uic.prf
@@ -1,3 +1,4 @@
+defined(qtPrepareTool)|load(qt_functions) ### Qt 5: see default_pre.prf
qtPrepareTool(QMAKE_UIC3, uic3)
qtPrepareTool(QMAKE_UIC, uic)