diff options
| author | Cristian Adam <cristian.adam@qt.io> | 2022-05-05 16:07:24 +0200 |
|---|---|---|
| committer | Cristian Adam <cristian.adam@qt.io> | 2022-05-06 10:47:14 +0000 |
| commit | 6d2a7e67f17b15d9bb6a6026bb02f6185e77982b (patch) | |
| tree | b781181ec05e1927aa5aa4ef469bab1405ec90c0 /src/app | |
| parent | 09c64e640da9608df73e87791b615d66e8178ddd (diff) | |
| download | qt-creator-6d2a7e67f17b15d9bb6a6026bb02f6185e77982b.tar.gz | |
CMake: Link qml2puppet / qtcreator to the static qml plugins
This way "qml2puppet --test" will succeed.
Change-Id: I4c523e70e171e75c4f72fc85c740b87db833f4a1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/app')
| -rw-r--r-- | src/app/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt index 58fa147c51..cc56d7703e 100644 --- a/src/app/CMakeLists.txt +++ b/src/app/CMakeLists.txt @@ -66,6 +66,10 @@ if (QTC_STATIC_BUILD) SOURCES "${CMAKE_CURRENT_BINARY_DIR}/plugin_imports.cpp" ) + if (Qt5_VERSION VERSION_GREATER_EQUAL 6.0.0 AND TARGET QmlDesigner) + qt6_import_qml_plugins(qtcreator + PATH_TO_SCAN "${CMAKE_CURRENT_SOURCE_DIR}/../../share/qtcreator/qmldesigner") + endif() endif() if (WIN32) |
