[Qt-interest] QPixmap return null pixmap on VC
OS Prog
osprog at gmail.com
Thu Apr 9 12:00:02 CEST 2009
Hi,
The code:
QPixmap *pixmap1 = new QPixmap("images/scroll.jpg");
returns a null pixmap when I build it with VC. The same code works when it
is built with mingw.
I tried to specify the whole path, like "QPixmap *pixmap1 = new
QPixmap("C:/Work/SVN/Qt/VCProj/debug/images/scroll.jpg");", but it is the
same.
Where could be the problem?
I just compiled the Qt SDK for Windows with "VC2008 Express"'s compiler in
separate folder. The original folder is with mingw.
Regards,
Nikolay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090409/b0f9925b/attachment.html
More information about the Qt-interest-old
mailing list