https://bugs.kde.org/show_bug.cgi?id=470729

--- Comment #3 from Joshua Goins <j...@redstrate.com> ---
Git commit 7e1df8f248ee565b9c7d421dbf591660fcbb95cc by Joshua Goins.
Committed on 13/06/2023 at 22:09.
Pushed by redstrate into branch 'master'.

ECMQmlModule: Add support for singleton types, support paths

Fixes needed for qqc2-desktop-style to work (see:
https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/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.

M  +13   -6    modules/ECMQmlModule.cmake

https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/7e1df8f248ee565b9c7d421dbf591660fcbb95cc

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to