Unsolved Qt 5.7 - override system-libpng/ system-libjpg and system-zlib
-
Any options in configure to override the default system path's for png, jpg and zlib to force Qt to link with custom builds to avoid multiple versions in final deployment?
Mikael
-
Hi and welcome to devnet,
Do you want to build Qt with your own versions of these libraries or simply make Qt build with its own set of these libraries ?
-
@SGaist thanks!
Yeap that's right, using something like Cmake's CMAKE_PREFIX_PATH to override the search order.
-
Which one of my two propositions is the right one ?
-
Use the bundled versions is easy, system too. I want to use my own versions, there is no search order or exposed option for this (what I know) in configure.
-
I know you can add -I and -l (with a space before the path unlike the compiler/linker options) to the configure options so you can make it find libraries in unusual places however I don't know their particular order handling.
-
Good idea! Will give it a try.