torstai 19. joulukuuta 2013

Huge performance boost by using qrc on Android

As mentioned here by using the Qt Resource System (qrc) has significant benefits over the assets folder on Android. Loading e.g. Qml-files is significantly faster with qrc than using assets.

Quite misleadingly the "Qt Quick Application" wizard on Qt Creator (3.0.0 and below) will currently use assets as the way to bundle files on Android. Instead I tried packaging all my Qml files, images and other static assets to qrc and my app loading times dropped from +5 seconds to a fraction of a second, so there really is a difference!

In addition the qrc system is cross-platform and there is a simple wizard in Qt Creator for creating the qrc-package.

Ei kommentteja:

Lähetä kommentti