diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-01-28 23:38:38 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-01-29 15:39:22 +0000 |
commit | 97a5cf86345fd72cdff83c03664c19a8f5cdf79a (patch) | |
tree | 2ce6946c3ad4ceafb91aeab434dc36cf3473d370 /examples/quick/tableview/pixelator/CMakeLists.txt | |
parent | 12f0381a34a9fb4548e9b30c987f44848adc1f67 (diff) |
Regenerate examples
Change-Id: I39564d4b644a7ee367d9ce92b85426a5c2a122a4
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/quick/tableview/pixelator/CMakeLists.txt')
-rw-r--r-- | examples/quick/tableview/pixelator/CMakeLists.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/quick/tableview/pixelator/CMakeLists.txt b/examples/quick/tableview/pixelator/CMakeLists.txt index 64b5dcea7a..23e730772a 100644 --- a/examples/quick/tableview/pixelator/CMakeLists.txt +++ b/examples/quick/tableview/pixelator/CMakeLists.txt @@ -1,7 +1,7 @@ # Generated from pixelator.pro. cmake_minimum_required(VERSION 3.14) -project(pixelator LANGUAGES CXX) +project(qml_pixelator LANGUAGES CXX) set(CMAKE_INCLUDE_CURRENT_DIR ON) @@ -46,3 +46,11 @@ install(TARGETS qml_pixelator BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" ) + +set_target_properties(qml_pixelator PROPERTIES + QT_QML_MODULE_INSTALL_QMLTYPES TRUE + QT_QML_MODULE_VERSION 1.0 + QT_QML_MODULE_URI ImageModel +) + +qt6_qml_type_registration(qml_pixelator) |