From e60af03e2faee1b20cbbf722bcc57f06fcd793fe Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Thu, 1 Aug 2019 16:03:00 +0200 Subject: Update qml modules Updated qml modules to be compatible with the latest changes to add_qml_modules. Change-Id: I3342a1375bfa64a16fb0c54f812c56bad173f73c Reviewed-by: Simon Hausmann --- src/imports/qtqml/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/imports/qtqml/CMakeLists.txt') diff --git a/src/imports/qtqml/CMakeLists.txt b/src/imports/qtqml/CMakeLists.txt index 9f638c27b8..50ee3350c6 100644 --- a/src/imports/qtqml/CMakeLists.txt +++ b/src/imports/qtqml/CMakeLists.txt @@ -5,9 +5,10 @@ ##################################################################### add_qml_module(qmlplugin - INSTALL_QML_FILES - TARGET_PATH "QtQml" - IMPORT_VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}" + CPP_PLUGIN + URI "QtQml" + VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}" + RESOURCE_PREFIX "/qt-project.org/imports" SOURCES plugin.cpp LIBRARIES -- cgit v1.2.3