Am 2018-06-01 13:10, schrieb Alexander Volkov:
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.

Just a quick note: the quick compiler macros provided by Qt 5.11.0 are broken for cross-compilation (QTBUG-68724).

Eike

Reply via email to