diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-05-18 08:59:48 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-05-18 09:17:43 (GMT) |
commit | c50704d6c0ca07cb26942ee938bb875a855dc9bf (patch) | |
tree | 9337751f2d917628578875bda887cfb015c9748f /mkspecs | |
parent | 0415df85405432bc4bec98317521c9210303a872 (diff) | |
download | Qt-c50704d6c0ca07cb26942ee938bb875a855dc9bf.zip Qt-c50704d6c0ca07cb26942ee938bb875a855dc9bf.tar.gz Qt-c50704d6c0ca07cb26942ee938bb875a855dc9bf.tar.bz2 |
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.prf | 1 | ||||
-rw-r--r-- | mkspecs/features/resources.prf | 1 | ||||
-rw-r--r-- | mkspecs/features/uic.prf | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf index 6442594..2e82f03 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 5d00a4d..a305a4f 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 d108f24..c87372d 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) |