PDA

View Full Version : [Problem] QPixmap load binary data



rstalin
25th October 2011, 05:21
Symbian mobile sis can't package too much files that will cause install failed.

Someone suggest to integrate numerous image files to one binary file

that can increase install and load speed.

Qt QPixmap can directly load from raw data from one file.

But many files package in one I have no idea how to handle to read each file .

whether can give some hint?

Spitfire
25th October 2011, 10:38
I think
QPixmap QPixmap::copy ( const QRect & rectangle = QRect() ) const is what you need.