[Qt-interest] load jpg files

Patric userqt at gmail.com
Tue Sep 1 16:21:12 CEST 2009


I'll take this into consideration next time I need jpeg.
But usually png is satisfying me. :)

Regards

----- Original Message ----- 
From: "Andre Somers" <andre at familiesomers.nl>
To: "Qt-interest" <qt-interest at trolltech.com>
Sent: Tuesday, September 01, 2009 4:49 PM
Subject: Re: [Qt-interest] load jpg files


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
>
>
>

_______________________________________________
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