[Interest] QtQuickCompiler alternative
Damian Ivanov
damianatorrpm at gmail.com
Thu May 22 17:09:03 CEST 2014
Hello Torgeir,
Do be a bit more specific a ~1sec startup is for anything. Just a
Window { Text{text: "Hello world"}} will have that kind of startup
time.
I would really need an onCLick show up of the window itself, the
content doesn't need to be instantly there.
I am writing a desktop environment for Linux in QML and have already
the panel completed with few plugins, but things like the clock should
start a separate calendar application, which I started writing also to
replace gnome-calendar being started when the clock is clicked. (You
can configure which program is started when you click on the clock)
and right now I'd need it as my own app so I can set a parameter send
from the clock with it's coordinates so the calendar optionally pops
next to the clock.
You can find screenshoots here:
http://www.speedyshare.com/HKa3A/snapshot1.png
http://www.speedyshare.com/UVTDK/snapshot2.png
http://www.speedyshare.com/gdsvV/snapshot3.png
http://www.speedyshare.com/jEJnd/snapshot4.png
Of course it still needs polishing.
Regards,
Damian
2014-05-22 16:12 GMT+02:00 Torgeir Lilleskog <torgeir.lilleskog at gmail.com>:
> I would guess there is something you are doing in the qml file which is a
> slow operation.
> Can you tell us a bit more about what you are doing and which components you
> are using?
>
> One thing which helps is to only load the items initially visible and stick
> optional items into Loader elements.
> These Loaders may have 'asynchronous: true' so they will be loaded in the
> background after startup.
>
> Also, what does profiling show for where the application spends its time
> during startup?
>
> While it is possible that QtQuickCompiler may help, it sounds unlikely that
> this is the only way to speed up your app.
>
> Best regards,
> - Torgeir
>
>
> On Thu, May 22, 2014 at 2:30 PM, Damian Ivanov <damianatorrpm at gmail.com>
> wrote:
>>
>> Is there any free alternative for this on Linux? I am standing before
>> an issue that I must load (startup) a simple (really simple) qml
>> application fast. Unfortunately it takes about 1,5 sec (and that with
>> Qt 5.3, 840 evo ssd, fx 8320, 16gb ram 2133mhz.).
>> Is there any other workaround as I can't try qtquick compile and it's
>> not free either (and my programs will be free).
>> So any workaround maybe for this? It also would take 1,5 sec if the
>> program is moved to a ramfs/tmpfs.
>> I already have all qml (it's just one!) files inside qrc://
>>
>> Thanks in advance!
>> Damian
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>
>
2014-05-22 17:12 GMT+03:00 Torgeir Lilleskog <torgeir.lilleskog at gmail.com>:
> I would guess there is something you are doing in the qml file which is a
> slow operation.
> Can you tell us a bit more about what you are doing and which components you
> are using?
>
> One thing which helps is to only load the items initially visible and stick
> optional items into Loader elements.
> These Loaders may have 'asynchronous: true' so they will be loaded in the
> background after startup.
>
> Also, what does profiling show for where the application spends its time
> during startup?
>
> While it is possible that QtQuickCompiler may help, it sounds unlikely that
> this is the only way to speed up your app.
>
> Best regards,
> - Torgeir
>
>
> On Thu, May 22, 2014 at 2:30 PM, Damian Ivanov <damianatorrpm at gmail.com>
> wrote:
>>
>> Is there any free alternative for this on Linux? I am standing before
>> an issue that I must load (startup) a simple (really simple) qml
>> application fast. Unfortunately it takes about 1,5 sec (and that with
>> Qt 5.3, 840 evo ssd, fx 8320, 16gb ram 2133mhz.).
>> Is there any other workaround as I can't try qtquick compile and it's
>> not free either (and my programs will be free).
>> So any workaround maybe for this? It also would take 1,5 sec if the
>> program is moved to a ramfs/tmpfs.
>> I already have all qml (it's just one!) files inside qrc://
>>
>> Thanks in advance!
>> Damian
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>
>
More information about the Interest
mailing list