diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-06-01 14:54:25 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-06-05 09:07:15 +0200 |
commit | 9d7012682fc78eeec2c4295ab2ede71e904676ad (patch) | |
tree | 2bf7351502c006137d7b2e4832b032dd809268ac /src | |
parent | e4ee4ddfddbee80b5d21d3fad2a30184d9ec584e (diff) |
CMake: Update to latest qml CMake API
Task-number: QTBUG-91621
Change-Id: Ib2eefc7dae251a0e3e2e9c59f8fe179e477287f2
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/CMakeLists.txt | 8 | ||||
-rw-r--r-- | src/imports/qmldir | 3 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/imports/CMakeLists.txt b/src/imports/CMakeLists.txt index e47ec75..7954e50 100644 --- a/src/imports/CMakeLists.txt +++ b/src/imports/CMakeLists.txt @@ -1,8 +1,12 @@ qt_internal_add_qml_module(lottieqtplugin URI "Qt.labs.lottieqt" VERSION "${PROJECT_VERSION}" - CLASSNAME BodymovinPlugin - SKIP_TYPE_REGISTRATION + CLASS_NAME BodymovinPlugin + PLUGIN_TARGET lottieqtplugin + NO_GENERATE_PLUGIN_SOURCE + NO_PLUGIN_OPTIONAL + NO_GENERATE_QMLTYPES + INSTALL_SOURCE_QMLTYPES "plugins.qmltypes" SOURCES lottie_plugin.cpp lottie_plugin.h lottieanimation.cpp lottieanimation.h diff --git a/src/imports/qmldir b/src/imports/qmldir deleted file mode 100644 index a1beae5..0000000 --- a/src/imports/qmldir +++ /dev/null @@ -1,3 +0,0 @@ -module Qt.labs.lottieqt -plugin lottieqtplugin -classname BodymovinPlugin |