Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building Qt 5.9.1 with System Libraries (jpeg, z, png) on Windows
Forum Updated to NodeBB v4.3 + New Features

Building Qt 5.9.1 with System Libraries (jpeg, z, png) on Windows

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 1.1k 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.
  • C Offline
    C Offline
    Chris_S
    wrote on last edited by
    #1

    Hi,

    I am trying to build Qt 5.9.1 from source for Windows using precompiled third part libraries (libjpeg, libpng, zlib). I have set the appropriate "-system-*" values such that the configure step specifies that it is trying to use a system zlib. However, my configure step ultimately fails with errors similar to:

    "Feature 'system-zlib' was enabled but the pre-condition 'libs.zlib' failed"
    "Feature 'system-jpeg' was enabled but the pre-condition 'features.jpeg && libs.libjpeg' failed"

    In my situation my "system" libraries are located in some other directories. I assume I need to tell the configuration script where to find them. I have seen some conflicting information on how to properly specify the library path and include directories for these third party libraries. Does anybody know how to properly set them? Obviously what I am trying isn't working.

    Thanks!

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

      Hi and welcome to devnet,

      Do you have an example of such tests ?

      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

      • Login

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