[Interest] Image Format plugins not loading on windows
Michael Jackson
imikejackson at gmail.com
Thu Mar 7 18:45:48 CET 2013
Thanks. The Qt link solved the problem.
--
MJ
On Mar 7, 2013, at 10:09 AM, Mülner, Helmut <helmut.muelner at joanneum.at> wrote:
> You have to copy $(QTDIR)/bin/plugins/imageformats to $(MYAPPDIR)/imageformats
> (see my stackoverflow answer: http://stackoverflow.com/questions/4047366/qt-dll-deployment-on-windows/4049823#4049823 )
>
> Best regards
> Helmut Mülner
>
>> -----Ursprüngliche Nachricht-----
>> Von: interest-bounces+helmut.muelner=joanneum.at at qt-project.org
>> [mailto:interest-bounces+helmut.muelner=joanneum.at at qt-project.org] Im
>> Auftrag von Michael Jackson
>> Gesendet: Donnerstag, 07. März 2013 16:49
>> An: interest at qt-project.org
>> Betreff: [Interest] Image Format plugins not loading on windows
>>
>> I have some code in Qt where I am loading a tiff image file. I have placed all
>> the folder "plugins/imageformats/*" from my Qt Build into the same
>> directory as my executable file. When I try to load the QImage
>> image(path_to_tiff) I get a null QImage object back. Checked by using
>> image.isNull() method.
>>
>> The path to the file does exist. This same setup works fine on another
>> development machine but not this one. I even tried putting a qt.conf file in
>> with my executable and that did not seem to help.
>> Is there some Qt function to query any possible errors that might have
>> occurred when my program tried to load the Qt image plugins?
>>
>> This on machines with Windows 7 x64 with Visual Studio 2010 SP1 and a self
>> built Qt 4.8.4.
>>
>> Thank you for any help.
>> ---
>>
>> Mike Jackson
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
More information about the Interest
mailing list