# [SOLVED] libtiff.pri on windows breaks pro file

• Hi,

I'm trying to include the libtiff that's already in the Qt libs. With

@
include(../3rdparty/libtiff.pri)
@

in my pro file. On OSX everything works fine, but on Windows I get

@
-1: Fehler: Project has no top-level .qmake.conf file.
@

and I can't even start to compile.

It must have something to do with the zlib, because when I remove
@
include(\$\$PWD/zlib_dependency.pri)
@

from the libtiff.pri, I can compile the project, but obviously get compiling errors regarding the missing zlib.
@
3rdparty\libtiff\libtiff\tif_pixarlog.c:93: Fehler: C1083: Cannot open include file: 'zlib.h': No such file or directory
@

Has anyone an idea, what I'm doing wrong?

Qt 5.3.1/5.3.2
VS 2012/2013

Thanks

• Hi,

If you really want to do that, you should rather include the pri with the complete path to its Qt sources location

e.g.
@include(C:/path_to_Qt_sources/src/3dparty/libtiff.pri)@

• I tried that, but it didn't work either.

• What if you add an empty .qmake.conf in your project ?

• That worked

Thanks!

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.