diff --git a/qml6-pragmasingleton/qml/CMakeLists.txt b/qml6-pragmasingleton/qml/CMakeLists.txt index f1ef3ba..0f4a062 100644 --- a/qml6-pragmasingleton/qml/CMakeLists.txt +++ b/qml6-pragmasingleton/qml/CMakeLists.txt @@ -1,7 +1,7 @@ # This is the only requirement to mark a QML file as a singleton. set_source_files_properties(PragmaSingleton.qml PROPERTIES QT_QML_SINGLETON_TYPE ON) -qt_add_library(pragmasingleton-dialogs) +add_library(pragmasingleton-dialogs) qt_add_qml_module(pragmasingleton-dialogs URI "com.example.pragmasingleton.dialogs"