Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. [SOLVED] libtiff.pri on windows breaks pro file
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] libtiff.pri on windows breaks pro file

Scheduled Pinned Locked Moved 3rd Party Software
5 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    levelxxl
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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)@

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • L Offline
        L Offline
        levelxxl
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • L Offline
            L Offline
            levelxxl
            wrote on last edited by
            #5

            That worked

            Thanks!

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved