I use "configure -static -qt-libjpeg -release" recompile Qt 4.1.1,But I find
it can not support the read-write of “jpegâ€. This is my codes. I use it to
get the supporting-list, but I don't find the file format “JPEGâ€.
QList<QByteArray> formats = reader.supportedImageFormats();
foreach(QByteArray format, formats)
QMessageBox::information(this, "format", format);
I could find “libqjpeg.a,libqjepg1.a,qjpeg1.dll†in path "plugins\imageformats" directory But when I finished compilation after added libqjpeg.a to the project, it still could not use QImageReader to read “jpeg†files.
I checked the <http://www.qtcentre.org/forum/showthread.php?t=1182&highlight=jpeg+support> carefully, but I didn't find how to solve the problem.
help me~~
platform: winxp
Qt: 4.1.1 open source![]()
Bookmarks