diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2018-03-27 13:29:52 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-03-31 13:32:09 +0000 |
commit | 9159a7c3db4a0625a2cbe690df5d22f8db1616d1 (patch) | |
tree | c3b82bf6fcec6d46eaf018a24d3d477d0aa5e928 /tools/qmlcachegen | |
parent | 2d48082e322ae1600985491fe15528dd48a5c604 (diff) |
Fix debug-and-release builds with CONFIG += qtquickcompiler
Allow for QMLCACHE_DIR to be pre-defined when modified with debug or
release suffix via exclusive_builds_post.prf.
Task-number: QTBUG-66675
Change-Id: I007fd8359a860e4c7c2b3efdd90a678ddaad72c3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'tools/qmlcachegen')
-rw-r--r-- | tools/qmlcachegen/qtquickcompiler.prf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlcachegen/qtquickcompiler.prf b/tools/qmlcachegen/qtquickcompiler.prf index 1e87a2d7e7..9fa982ca0f 100644 --- a/tools/qmlcachegen/qtquickcompiler.prf +++ b/tools/qmlcachegen/qtquickcompiler.prf @@ -2,7 +2,7 @@ qtPrepareTool(QML_CACHEGEN, qmlcachegen, _FILTER) qtPrepareTool(QMAKE_RCC, rcc, _DEP) -QMLCACHE_DIR = .qmlcache +isEmpty(QMLCACHE_DIR): QMLCACHE_DIR = . defineReplace(qmlCacheResourceFileOutputName) { name = $$relative_path($$1, $$_PRO_FILE_PWD_) |