On Fri, Jun 1, 2018 at 1:10 PM, Alexander Volkov <a.vol...@rusbitech.ru> wrote: > 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. >
I'm not sure this makes sense, as far as I know it's not a binary-compatible format, so distros would have to recompile every application with qmlc files upon Qt update. Aleix