Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
static Qt build
-
8995453263721507a4c923b905f50f800010d9ad
Description
If I don't try to read image, but only check in my application that I can read some image formats results of QImageReader::supportedImageFormats() doesn't contain 'jpeg' extension. See code below:
needFormats.append( "bmp" ); needFormats.append( "gif" ); needFormats.append( "jpeg" ); needFormats.append( "png" ); QList<QByteArray> formats = QImageReader::supportedImageFormats(); for (int i = 0;i < formats.count();++i) { int tf = needFormats.lastIndexOf(QString(formats.at(i))); if (tf >= 0) needFormats.removeAt(tf); }
For shared build this code works fine, for static - 'jpeg' "not supported" but it is supported.