From f9619ef381e450c84b9d697d9085065b43f9defe Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 26 Apr 2023 13:37:03 +0200 Subject: [PATCH] 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 --- src/tools/qml2puppet/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/qml2puppet/CMakeLists.txt b/src/tools/qml2puppet/CMakeLists.txt index 9f46e49ef66..98b1ebdf458 100644 --- a/src/tools/qml2puppet/CMakeLists.txt +++ b/src/tools/qml2puppet/CMakeLists.txt @@ -236,7 +236,7 @@ if (Qt6_VERSION VERSION_GREATER_EQUAL 6.4.0) qt_add_qml_module(qml2puppet URI QmlRuntime.QmlConfiguration VERSION 1.0 - RESOURCE_PREFIX "/qt-project.org" + RESOURCE_PREFIX "/qt-project.org/imports" ) if (QTC_STATIC_BUILD) qt_import_qml_plugins(qml2puppet PATH_TO_SCAN ${SRCDIR})