Skip to content
Commit 7e1df8f2 authored by Joshua Goins's avatar Joshua Goins
Browse files

ECMQmlModule: Add support for singleton types, support paths

Fixes needed for qqc2-desktop-style to work (see: qqc2-desktop-style!254). There are two problems here:
* Our auto-generated qmldir has no way to specify which components are singletons.
* Our auto-generated qmldir does not set the filepaths properly. qqc2-desktop-style installs files under private/ but the qmldir still refers to qml files as if they are in the root directory.

The way to mark qml components as singletons is shamelessly stolen from the new Qt6 CMake API - by using set_source_file_properties and QT_QML_SINGLETON_TYPE.

CCBUG: 470729
parent 41f2e586
Pipeline #418487 passed with stage
in 29 minutes and 23 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment