aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qtsupport
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-02-27 09:32:09 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-02-27 12:01:52 +0000
commit86e16c9e142c9b8bc7ae7f98aeb51892eab36fa3 (patch)
tree72157576bf669bf987789902149a108d3860edf4 /src/plugins/qtsupport
parenteecf75e7bf625332c33476ea8ab11a43e5da2837 (diff)
Qmake: Add special CONFIG variable "qtc_run" when parsing project files
The idea is that some of the more intrusive prf files in Qt can skip themselves when they encounter this condition. Task-number: QTCREATORBUG-17521 Change-Id: I09a33b2d3c5dee1232803d46c521cc9fd29e1898 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/qtsupport')
-rw-r--r--src/plugins/qtsupport/profilereader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qtsupport/profilereader.cpp b/src/plugins/qtsupport/profilereader.cpp
index ba0eb7dd902..9c04012b056 100644
--- a/src/plugins/qtsupport/profilereader.cpp
+++ b/src/plugins/qtsupport/profilereader.cpp
@@ -79,6 +79,7 @@ ProFileReader::ProFileReader(QMakeGlobals *option, QMakeVfs *vfs)
, ProFileEvaluator(option, this, vfs, this)
, m_ignoreLevel(0)
{
+ setExtraConfigs(QStringList("qtc_run"));
}
ProFileReader::~ProFileReader()