[SOLVED] libtiff.pri on windows breaks pro file

  • Hi,

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


    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

    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


  • Lifetime Qt Champion


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


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

  • Lifetime Qt Champion

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

  • That worked


Log in to reply