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<mailto: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<mailto: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<mailto: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