I have written a sample that uses a .bmp file as its back ground image. Image's size is almost 2.0 MB. I have specified it in ".qrc" file. But while building the sample, particularly compiling the qrc_sample.cpp it hangs and build process is never completed. Here is the code I have written,
QPixmap pixmap;
pixmap.load("images/fully.bmp");
palette.setBrush((this)->backgroundRole(), QBrush(pixmap));
(this)->setPalette(palette);
// here is the listing in sample.qrc
<file>images/fully.bmp</file>
Is their any limitation on the size of files that are used in qrc or its a bug ? Is their any work around possible ? I just tweaked into qrc_sample.cpp and it was around 1,32,685 lines. Am I doing anything wrong here?
Thanks in advance,
Seema Rao
Bookmarks