Hi, Did you copy the plugins dll or do you have a "plugins/imageformats" folder your executable directory ?
On 7 mars 2013, at 16:48, Michael Jackson wrote: > 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@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest