aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2020-03-26 10:57:12 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2020-03-26 13:41:46 +0100
commita5b4d3dbab70c8e0cc57e895007fc4a798e129c7 (patch)
tree161d4db067c1f885830588506e4005712b0b76a3 /src
parent7aac345415ca8970f3e5f094ec8fa1a26b36587b (diff)
qmltyperegistrar: Use target instead of template name
Due to the fact that multiple targets may be present in the same directory we have to ensure they all get a unique qmltypes. Fixes: QTBUG-82710 Change-Id: I4d7966035644b68f7d3330a4c974369503c48bf2 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qmltyperegistrar/qmltypes.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmltyperegistrar/qmltypes.prf b/src/qmltyperegistrar/qmltypes.prf
index 16f0caec66..0d5a6ded24 100644
--- a/src/qmltyperegistrar/qmltypes.prf
+++ b/src/qmltyperegistrar/qmltypes.prf
@@ -31,7 +31,7 @@ isEmpty(QML_IMPORT_MINOR_VERSION) {
isEmpty(QMLTYPES_FILENAME) {
plugin: QMLTYPES_FILENAME = plugins.qmltypes
- else: QMLTYPES_FILENAME = $${TEMPLATE}.qmltypes
+ else: QMLTYPES_FILENAME = $${TARGET}.qmltypes
}
qt_module_deps = $$replace(QT, -private$, '')