Hi all,I am using Qt Creator 2.7.0 Based on Qt 5.0.2 (32 bit) and using the msvc 2012 compiler and I find that the following simplified code fails to load the icon.On my other setup with mingw the image loads without problem.
QPushButton * mButton=new QPushButton(this);
QPixmap mPixmap(":/images/images/addPageResized.png");
mButton->setIcon(QIcon(mPixmap));
Just wondering if this problem is specific to Qt for visual studio 2012 .Any pointers in the right direction would be appreciated.
↧