Originally Posted by
ht1
Thansk again, Wysota,
I know that my program is OK because it works with BMP (and not with TIFF, GIF or JPG) images on the computer that does not have Qt4 installed and it works with all images on the computer that has Qt4 installed.
What does this small program return on either of the machines?
#include <QtGui>
#include <QtDebug>
int main(int argc, char **argv){
}
return 0;
}
#include <QtGui>
#include <QtDebug>
int main(int argc, char **argv){
QApplication app(argc, argv);
foreach(const QByteArray &fmt, QImageReader::supportedImageFormats()){
qDebug() << QString(fmt);
}
return 0;
}
To copy to clipboard, switch view to plain text mode
How could I obtain/compile static versions of the imageformats dll files. Linking them to my exe seems like the best solution to me.
You need to reconfigure and rebuild Qt. configure -help will show you the proper options.
Bookmarks