Very probable.
The fix 
Windows: Introduce delayed population to the FreeType font database.

https://codereview.qt-project.org/#/c/106411/
explictly states: 
The Windows CE version is unchanged.
 
Nobody explains why.
 
Regards,
Gunnar Roth
 
Gesendet: Freitag, 13. November 2015 um 14:18 Uhr
Von: "Curtis Mitch" <mitch.cur...@theqtcompany.com>
An: "Christian Nielsen" <christian.niel...@ivolve.com>, "Gunnar Roth" <gunnar.r...@gmx.de>
Cc: "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?

Could it be the same issue as QTBUG-43774 [1]?

 

[1] https://bugreports.qt.io/browse/QTBUG-43774

 

From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Christian Nielsen
Sent: Friday, 13 November 2015 12:08 PM
To: Gunnar Roth <gunnar.r...@gmx.de>
Cc: interest@qt-project.org
Subject: Re: [Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?

 

The issue was indeed font initialization. I commented out the line in

void QWindowsFontDatabaseFT::populateFontDatabase()

that populates the font database with all system fonts. Now Qt only loads the family of the default font at start-up.

 

 

From: Gunnar Roth [mailto:gunnar.r...@gmx.de]
Sent: Monday, 9 November 2015 07:42
To: Christian Nielsen
Cc: interest@qt-project.org
Subject: Re: [Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?

 

 

Am 05.11.2015 um 08:46 schrieb Christian Nielsen <christian.niel...@ivolve.com>:

 

I guess you are on to something. But then why does my Qt Widget application start fast enough.

 

Is there a way to make Qt Quick do text like Qt Widgets?

 

 

 

Try this:

renderType : enumeration

Override the default rendering type for this component.

Supported render types are:

·         Text.QtRendering - the default

·         Text.NativeRendering

Select Text.NativeRendering if you prefer text to look native on the target platform and do not require advanced features such as transformation of the text. Using such features in combination with the NativeRendering render type will lend poor and sometimes pixelated results.

 

 

 

From: Gunnar Roth [mailto:gunnar.r...@gmx.de] 
Sent: Thursday, 5 November 2015 17:15
To: Christian Nielsen
Cc: interest@qt-project.org
Subject: Re: [Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?

 

Nice catch. My wild guess is font initialization.

Regards,

Gunnar Roth

Am 05.11.2015 um 07:52 schrieb Christian Nielsen <christian.niel...@ivolve.com>:

 


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?

 

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to