diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-09 13:53:53 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-12 14:05:23 +0000 |
commit | 14492ecee2e34843efd3ef070503a43a48552055 (patch) | |
tree | 37432296f2f6bbc596d2470f79c99ce68801567c /tools/qmltime | |
parent | 26c5243491f495194f04b449128dae36118e28da (diff) |
CMake: Regenerate and adapt to merge from devwip/cmake
Change-Id: If8daa6152a563d4309d7342414780ef75b9f5589
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Diffstat (limited to 'tools/qmltime')
-rw-r--r-- | tools/qmltime/CMakeLists.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tools/qmltime/CMakeLists.txt b/tools/qmltime/CMakeLists.txt index 4fb203cfbe..03425e9ecf 100644 --- a/tools/qmltime/CMakeLists.txt +++ b/tools/qmltime/CMakeLists.txt @@ -7,18 +7,27 @@ qt_add_executable(qmltime GUI SOURCES - qmltime.cpp - LIBRARIES - Qt::QuickPrivate + qmltime.cpp qmltime.h PUBLIC_LIBRARIES Qt::Gui Qt::Qml Qt::Quick + Qt::QuickPrivate ) #### Keys ignored in scope 1:.:.:qmltime.pro:<TRUE>: # QMAKE_TARGET_DESCRIPTION = "QML" "Time" +# QML_IMPORT_NAME = "QmlTime" +# QML_IMPORT_VERSION = "1.0" # TEMPLATE = "app" ## Scopes: ##################################################################### + +set_target_properties(qmltime PROPERTIES + QT_QML_MODULE_INSTALL_QMLTYPES TRUE + QT_QML_MODULE_VERSION 1.0 + QT_QML_MODULE_URI QmlTime +) + +qt6_qml_type_registration(qmltime) |