If you use qmake, you can add the configuration parameters to the project .pro file:
CONFIG+=qml_debug
If you use some other build system, you can pass the following defines to the compiler:
QT_QML_DEBUG
Von: "Christian Nielsen" <christian.niel...@ivolve.com>
An: "Curtis Mitch" <mitch.cur...@theqtcompany.com>, "interest@qt-project.org" <interest@qt-project.org>
Betreff: Re: [Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?
Hi Curtis,
The application appears to start “instantly” on my Windows workstation. The issue is only apparent when the application is run on the Windows CE device. Unfortunately we have to use Visual Studio 2008 to compile the application for that device. I am not yet familiar enough with the tool chain to know how to hook up a profiler in that environment.
Christian Nielsen | Senior Development Engineer |
iVolve Pty Ltd | www.ivolve.com |
p. +61 7 3253 6700 |
From: Curtis Mitch [mailto:mitch.cur...@theqtcompany.com]
Sent: Thursday, 5 November 2015 17:25
To: Christian Nielsen; interest@qt-project.org
Subject: RE: [Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?
Have you tried using the profiler in Creator?
From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Christian Nielsen
Sent: Thursday, 5 November 2015 7:52 AM
To: interest@qt-project.org
Subject: [Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?
Hi,
We are struggling with very long start-up time of our application.
Some details:
Treq M4 screen, 624 MHz ARM
Windows CE 6.0 R3
Qt 5.4 shared libraries
No OpenGL ES 2 support so using 2D Renderer
In order to find the bottleneck we made some simple test applications. Here are the descriptions with measured start-up times:
Qt Widget application with single label: < 3 s
QQuickView with no content: < 3s
QQuickView with single Rectangle: < 3s
QQuickView with single Text item: ~24 s
QQuickView with two Text items: ~24s
I am thinking that the issue is not the loading of the dlls. Because Widget application and Qt Quick Rectangle application loads fast enough.
The issue is not parsing QML. These sample QML files are just a few lines long.
It is not the instantiation of the Text item. Because adding a second Text item is instant.
So what can it be?
Thanks in advance
-Christian
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest