Installing qml caches

Alexander Volkov a.volkov at rusbitech.ru
Fri Jun 1 12:10:57 BST 2018


Hi all,

It would be nice to install .qmlc files in addition to .qml files to 
reduce start-up time of applications.
They are generated with qmlcachegen. For Qt 5.11:
qmlcachegen -o example.qmlc qxample.qml

Currently qml files are usually installed the following way:
install(DIRECTORY qml/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kcm)

So this could be changed to something like
ecm_install_qml(qml org/kde/kcm)

I wonder whether someone already working on this or want to implement 
such a function?
If not, I'll try to do it myself.

Cheers,
Alexander.





More information about the kde-core-devel mailing list