View Full Version : TIFF image Format

13th September 2010, 12:59
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 !!!

13th September 2010, 13:03
Copy all your Qt plugins too to the target PC.
Check the documentation:

13th September 2010, 13:09
I didn't added qtiff.lib in vcproj on my DEV PC , and it still working .

13th September 2010, 13:20
Qt finds the plugins by itself.

But they need to be there.

13th September 2010, 13:37
I coped complete QT directory into target PC , added qtiffd4.lib into vsproj , but still I can open only PNG files.

13th September 2010, 13:47

Have you copied the "plugins" directory inside the target directory?

|----your files(exe, ...)
|----------------qt plugins dlls(like "qtiff4.dll")

13th September 2010, 14:03
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.

13th September 2010, 14:42
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 :)