Qt 6.4.2 QML singleton's properties undefined if singleton QML file placed in subdirectory e.g "/qml" (${CMAKE_SOURCE_DIR}/qml/Style.qml)
set_source_files_properties(Style.qml PROPERTIES QT_QML_SINGLETON_TYPE TRUE) qt_add_qml_module(untitled URI untitled VERSION 1.0 QML_FILES qml/main.qml qml/Style.qml ) Is it Qt bug or an something extra should be declared when qml files not lay directly in project root?
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest