[Qt-qml] Any tips or tricks to help with long app startup times?
Bo Thorsen
bo at fioniasoftware.dk
Sat Oct 1 01:49:32 CEST 2011
Den 30-09-2011 20:20, Todd Rose skrev:
> Thanks to everyone for the suggestions. I'm making progress and
> chipping away at the startup slowness. The main problem is still
> image loading. It seems like there's not much that you can do to
> workaround the fact that QPixmaps are tied to the GUI thread. Our
> image providers cache QImage and are multi-threaded, but in the end
> there's still the QImage -> QPixmap conversion that has to happen when
> painting.
You should be very wary of this conversion from QImage to QPixmap. It
might be slower to do this than load the QPixmaps directly. Your image
provider might even slow things down instead of speed them up.
Bo Thorsen,
Fionia Software.
--
Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk
More information about the Qt-qml
mailing list