aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/qtprofilesetup
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-10-18 15:22:55 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-10-18 14:06:07 +0000
commitb9e5dd581a06a97d45260fa9b393b135a9f1ad8f (patch)
treea7461b82f11d251a77bc2652f508f285d6b86780 /src/lib/qtprofilesetup
parentd658f63d699f2fbb939c59ad6c39e493011de99e (diff)
qmake build: Opt out of qtquickcompiler functionality
The qtprofilesetup library contains a resource file with JavaScript sources. Now if "CONFIG += qtquickcompiler" is set globally, as it happens by default in Qt Creator, qmake believes that we want to compile the js files, which leads to disaster. Arguably, Qt should ignore the qtquickcompiler CONFIG value if the product does not pull in QtQml, but until that happens, let's force- disable the qtquickcompiler. Fixes: QTCREATORBUG-21340 Change-Id: If4802277ab66b550b0c88e5678cadf59a32e68d2 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/lib/qtprofilesetup')
-rw-r--r--src/lib/qtprofilesetup/qtprofilesetup.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/qtprofilesetup/qtprofilesetup.pro b/src/lib/qtprofilesetup/qtprofilesetup.pro
index a6284727a..a32ff97aa 100644
--- a/src/lib/qtprofilesetup/qtprofilesetup.pro
+++ b/src/lib/qtprofilesetup/qtprofilesetup.pro
@@ -2,6 +2,8 @@ TARGET = qbsqtprofilesetup
include(../library.pri)
include(../corelib/use_corelib.pri)
+CONFIG -= qtquickcompiler
+
HEADERS = \
qtenvironment.h \
qtmoduleinfo.h \