[Qt-interest] load jpg files
Andre Somers
andre at familiesomers.nl
Tue Sep 1 15:49:39 CEST 2009
Patric wrote:
> Yes. At least I think so, I may have missed something.
You can check by putting a
qDebug() << QImageReader::supportedImageFormats()
somewhere. It will print out the supported formats. If you installed the
plugin correctly, you should see JPG and JPEG in the list of supported
formats.
André
>
> ----- Original Message ----- From: "Andre Somers"
> <andre at familiesomers.nl>
> To: "Qt-interest" <qt-interest at trolltech.com>
> Sent: Tuesday, September 01, 2009 4:38 PM
> Subject: Re: [Qt-interest] load jpg files
>
>
> Patric wrote:
>> I also had problems with jpeg files. I was able to upload them into my
>> application, and use them actually, but only from machine with QT
>> installed on it.
>> I realized this when I created installation package and tried to run
>> my program on different machine. I did not figured out why it's not
>> working with jpeg files.
>>
>> Try to use png instead of jpeg.
> Did you distribute the qt jpg plugin and install it in the correct
> location?
>
> André
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
More information about the Qt-interest-old
mailing list