Re: Qt plugins / dll help
Look at <QT_DIR>\plugins\imageformats and read this
Re: Qt plugins / dll help
I've looked in the imageformats folder. I don't see how creating a plugin would help me? I'm using qpixmap to load png's and bmp's. What baffles me is that it will load png's and not basic bmp's?
the code used for bmps is like this:
QPixmap bmp;
if ( !bmp.loadFromData( buffer, bufferSize, "bmp" ) )
throw error
And png:
QPixmap png;
if ( !png.loadFromData( buffer, bufferSize, "png" ) )
throw error
I don't understand what its using to load png's if its anything special. And why when deployed it will load png's but this line fails on bmps. Again, both work on my development machine.