user1335880
user1335880

Reputation: 81

qt - qml performance

I am using Qt 4.7.1 lighthouseon my device. When I create a qml application that contain a lot of regular Text element , it take a lot of time to load the application(few minutes). the text is regular text, without special formats or fonts.

I wonder if their is any way to reduce the uploading time , because I want to create a much more complicated qml application, with complicated widgets.

I know that the Qt 5 should improve the use of qml.

Upvotes: 1

Views: 1866

Answers (1)

Wes Hardaker
Wes Hardaker

Reputation: 22252

One thing you can do to at least show windows, etc, while loading is to use a Loader Element and delay the loading of the slower objects till a bit later (after the window is shown, etc).

Also, you might consider using something like a ListView instead of straight text elements, as it's designed to handle the display of large quantities of items in a much faster manner.

Upvotes: 2

Related Questions