path: root/mkspecs/features/default_pre.prf
diff options
authorMarius Storm-Olsen <>2011-07-16 07:13:16 -0500
committerQt by Nokia <>2011-07-21 20:40:51 +0200
commit3fbc9e658df776ceb5cd90e2d145d30a52dd9aa4 (patch)
tree840b3cb15d5ac9e91c96d70f340c4bd5338f6f96 /mkspecs/features/default_pre.prf
parent289d5aed37886c9dcc96d41bf65d23121b0b1bee (diff)
Make sure we only run syncqt for the non-buildpass cases
In debug_and_release builds, we have three passes, the glue pass, and a pass for each build type. We only need to run syncqt when we are in a glue pass, which is when 'build_pass' is not set. In non-debug_and_release builds, build_pass is never set, so this condition works for all build types, with multiple configurations or not. Change-Id: I191da0df3ad422bb5fb8994391c2b2d2e23efc32 Reviewed-on: Reviewed-by: Qt Sanity Bot <> Reviewed-by: Joerg Bornemann <> Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'mkspecs/features/default_pre.prf')
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf
index ebb94e272e..064d24bfa7 100644
--- a/mkspecs/features/default_pre.prf
+++ b/mkspecs/features/default_pre.prf
@@ -2,7 +2,7 @@ load(exclusive_builds)
### Qt 5: remove "uic" and "resources" - or add "qt"
CONFIG = lex yacc warn_on debug uic resources $$CONFIG
-exists($$_PRO_FILE_PWD_/sync.profile) {
+!build_pass:exists($$_PRO_FILE_PWD_/sync.profile) {
PRO_BASENAME = $$basename(_PRO_FILE_)
# Try to detect proper QTDIR path. We require QTDIR, as syncqt uses that to create qt_module.pri