Re: Installing qml caches

2018-07-31 Thread Thiago Macieira
On Sunday, 8 July 2018 09:06:58 PDT Simon Hausmann wrote: > And use the QtQuickCompiler build > option with 5.11. Is that just running qmlcachegen on all the *.qml? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center

Re: Installing qml caches

2018-07-15 Thread Александр Волков
29.06.2018 02:04, Lisandro Damián Nicanor Pérez Meyer пишет: Exactly. But if it the gain is *really important* we might come up with a solution maybe, like triggering rebuilds in the user's machine. But the gain needs to be really significant. Using triggers seems to be the best option. A packag

Re: Installing qml caches

2018-07-08 Thread Simon Hausmann
Hi, I suspect that at the point when you measured, the qml files created ahead of time contained the native code. Note that if they were big for your taste, then remember that every byte there without cache files occupies unshared memory (that can only be evicted to swap). Since 5.11 the files ar

Re: Installing qml caches

2018-07-07 Thread Elv1313 .
> It might indeed not be useful for distros, but it looks like an interesting > option to reduce the package size I played with this last year at Randa after we spoke about it. I heavily patched everything to bring the size down and improve startup time. QML cache doesn't help that goal at all. I

Re: Installing qml caches

2018-07-05 Thread Lisandro Damián Nicanor Pérez Meyer
El martes, 3 de julio de 2018 05:21:56 -03 Volker Krause escribió: [snip] > Qt 5.11 actually has something like this, but only covering QML files > compiled in via qrc, see qtquick_compiler_add_resources() (I needed a very > recent 5.11 branch build though for this to work, post 5.11.1). > > I ha

Re: Installing qml caches

2018-07-03 Thread Volker Krause
On Friday, 1 June 2018 13:10:57 CEST Alexander Volkov 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 f

Re: Installing qml caches

2018-07-03 Thread Lisandro Damián Nicanor Pérez Meyer
El martes, 5 de junio de 2018 17:38:04 -03 Sune Vuorela escribió: > On 2018-06-04, Alexander Volkov wrote: > > This can be made optional, as it is done in Qt. > > So distros will have a choice whether to install qmlc files or not. > > Debian installs them. > > I think Debian only installs the qml

Re: Installing qml caches

2018-06-07 Thread Rolf Eike Beer
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 t

Re: Installing qml caches

2018-06-05 Thread Sune Vuorela
On 2018-06-04, Alexander Volkov wrote: > This can be made optional, as it is done in Qt. > So distros will have a choice whether to install qmlc files or not. > Debian installs them. I think Debian only installs the qmlc files for Qt packages (where the versioning already is tightly coupled to Qt

Re: Installing qml caches

2018-06-05 Thread Volker Krause
On Monday, 4 June 2018 03:26:34 CEST Aleix Pol wrote: > On Fri, Jun 1, 2018 at 1:10 PM, Alexander Volkov 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

Re: Installing qml caches

2018-06-04 Thread Alexander Volkov
04.06.2018 04:26, Aleix Pol пишет: On Fri, Jun 1, 2018 at 1:10 PM, Alexander Volkov 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.qm

Re: Installing qml caches

2018-06-03 Thread Aleix Pol
On Fri, Jun 1, 2018 at 1:10 PM, Alexander Volkov 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 a

Installing qml caches

2018-06-03 Thread 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/ DESTI