summaryrefslogtreecommitdiffstats
path: root/qtbase.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-05-14 10:44:57 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-15 05:06:15 +0200
commite7e360f046e03455210320319d9e89838328cc3c (patch)
treed19913372c30c2d37891a76349d252e3a3d291c7 /qtbase.pro
parenta4463311a997b3a7e68ccab2fd1d05c07396725e (diff)
always create qt_tool_syncqt.pri when shadow-building
the fallback is to look in the install dir (which is the build dir when no -prefix is used), which doesn't work for a script in the source dir. amends 6b38524b Task-number: QTBUG-31131 Change-Id: If615ab4e3a2839b6b5be9bf6ef79d3f894b1748d Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'qtbase.pro')
-rw-r--r--qtbase.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtbase.pro b/qtbase.pro
index 60497a80d1..02dc11eac2 100644
--- a/qtbase.pro
+++ b/qtbase.pro
@@ -82,7 +82,7 @@ INSTALLS += syncqt
# If we are doing a prefix build, create a "module" pri which enables
# qtPrepareTool() to find the non-installed syncqt.
-prefix_build {
+prefix_build|!equals(PWD, $$OUT_PWD) {
cmd = perl -w $$shell_path($$PWD/bin/syncqt.pl)