diff options
Diffstat (limited to 'examples/quick/scenegraph/openglunderqml/CMakeLists.txt')
-rw-r--r-- | examples/quick/scenegraph/openglunderqml/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/openglunderqml/CMakeLists.txt b/examples/quick/scenegraph/openglunderqml/CMakeLists.txt index 1b83e8c32a..6f45e28a4a 100644 --- a/examples/quick/scenegraph/openglunderqml/CMakeLists.txt +++ b/examples/quick/scenegraph/openglunderqml/CMakeLists.txt @@ -45,3 +45,11 @@ install(TARGETS openglunderqml BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" ) + +set_target_properties(openglunderqml PROPERTIES + QT_QML_MODULE_INSTALL_QMLTYPES TRUE + QT_QML_MODULE_VERSION 1.0 + QT_QML_MODULE_URI OpenGLUnderQML +) + +qt6_qml_type_registration(openglunderqml) |