-
TIFF image Format
Hi ,
On my PC I have Qt 4.4.3 , Visual Studio 2005 and Qt Visual Studio integration 1.4.3.
In my project I need to display TIFF images, and it working fine!!!!!. I didn't insert any plugin declaration in code. (I just pass to QPixmap image file name and image format).
When project run on PC with no QT installed , only QT libs in run time directory I am failed to load TIFF images .
Can anyone help with that !!!
-
Re: TIFF image Format
Copy all your Qt plugins too to the target PC.
Check the documentation:
http://doc.qt.nokia.com/latest/deployment.html
-
Re: TIFF image Format
I didn't added qtiff.lib in vcproj on my DEV PC , and it still working .
-
Re: TIFF image Format
Qt finds the plugins by itself.
But they need to be there.
-
Re: TIFF image Format
I coped complete QT directory into target PC , added qtiffd4.lib into vsproj , but still I can open only PNG files.
-
Re: TIFF image Format
Hi,
Have you copied the "plugins" directory inside the target directory?
YourAppDirectory
|----your files(exe, ...)
|----plugins
|----imageformats
|----------------qt plugins dlls(like "qtiff4.dll")
-
Re: TIFF image Format
I have 2 PC :
1. Dev1 PC with full QT installation. (working fine , QT finds plugins).
2. Dev2 PC same as Dev1 PC ( same visual studio.. ) no QT installed ( QT used as external library ) -> can't find plugins.
In both PC there is same vsproj file and env variebles.
-
Re: TIFF image Format
You have to put qtiff4.dll in folder imageformats, that should be a subfolder of your application folder as ^NyAw^ said.
And by the way, QT = Quick Time, and Qt = this nice library :)