Installing qml caches
Rolf Eike Beer
kde at opensource.sf-tec.de
Thu Jun 7 08:56:28 BST 2018
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
More information about the kde-core-devel
mailing list