From 97a5cf86345fd72cdff83c03664c19a8f5cdf79a Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 28 Jan 2020 23:38:38 +0100 Subject: Regenerate examples Change-Id: I39564d4b644a7ee367d9ce92b85426a5c2a122a4 Reviewed-by: Leander Beernaert Reviewed-by: Alexandru Croitor --- examples/quick/customitems/maskedmousearea/CMakeLists.txt | 8 ++++++++ examples/quick/customitems/painteditem/CMakeLists.txt | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'examples/quick/customitems') diff --git a/examples/quick/customitems/maskedmousearea/CMakeLists.txt b/examples/quick/customitems/maskedmousearea/CMakeLists.txt index 6d3bd6983b..7a9b0e0376 100644 --- a/examples/quick/customitems/maskedmousearea/CMakeLists.txt +++ b/examples/quick/customitems/maskedmousearea/CMakeLists.txt @@ -48,3 +48,11 @@ install(TARGETS maskedmousearea BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" ) + +set_target_properties(maskedmousearea PROPERTIES + QT_QML_MODULE_INSTALL_QMLTYPES TRUE + QT_QML_MODULE_VERSION 1.0 + QT_QML_MODULE_URI Example +) + +qt6_qml_type_registration(maskedmousearea) diff --git a/examples/quick/customitems/painteditem/CMakeLists.txt b/examples/quick/customitems/painteditem/CMakeLists.txt index b036943621..8cf04fdfec 100644 --- a/examples/quick/customitems/painteditem/CMakeLists.txt +++ b/examples/quick/customitems/painteditem/CMakeLists.txt @@ -53,3 +53,11 @@ install(TARGETS qmltextballoonplugin BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" ) + +set_target_properties(qmltextballoonplugin PROPERTIES + QT_QML_MODULE_INSTALL_QMLTYPES TRUE + QT_QML_MODULE_VERSION 1.0 + QT_QML_MODULE_URI TextBalloonPlugin +) + +qt6_qml_type_registration(qmltextballoonplugin) -- cgit v1.2.3