forked from qt-creator/qt-creator
QmlDesigner: Place qmlpuppet configuration in system import path
The system import path is called "/qt-project.org/imports". The fact that the qml tool gets this wrong doesn't mean that qmlpuppet has to get it wrong, too. Task-number: QDS-9342 Change-Id: If6e2c636b840d112e566ee4b67e916f97a8d52e5 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -236,7 +236,7 @@ if (Qt6_VERSION VERSION_GREATER_EQUAL 6.4.0)
|
|||||||
qt_add_qml_module(qml2puppet
|
qt_add_qml_module(qml2puppet
|
||||||
URI QmlRuntime.QmlConfiguration
|
URI QmlRuntime.QmlConfiguration
|
||||||
VERSION 1.0
|
VERSION 1.0
|
||||||
RESOURCE_PREFIX "/qt-project.org"
|
RESOURCE_PREFIX "/qt-project.org/imports"
|
||||||
)
|
)
|
||||||
if (QTC_STATIC_BUILD)
|
if (QTC_STATIC_BUILD)
|
||||||
qt_import_qml_plugins(qml2puppet PATH_TO_SCAN ${SRCDIR})
|
qt_import_qml_plugins(qml2puppet PATH_TO_SCAN ${SRCDIR})
|
||||||
|
Reference in New Issue
Block a user