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. Qt 5.7 - override system-libpng/ system-libjpg and system-zlib
Forum Updated to NodeBB v4.3 + New Features

Qt 5.7 - override system-libpng/ system-libjpg and system-zlib

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 2 Posters 2.2k Views 2 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.
  • Mikael SundellM Offline
    Mikael SundellM Offline
    Mikael Sundell
    wrote on last edited by
    #1

    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

    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 want to build Qt with your own versions of these libraries or simply make Qt build with its own set of these libraries ?

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

      Mikael SundellM 1 Reply Last reply
      0
      • SGaistS SGaist

        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 ?

        Mikael SundellM Offline
        Mikael SundellM Offline
        Mikael Sundell
        wrote on last edited by
        #3

        @SGaist thanks!

        Yeap that's right, using something like Cmake's CMAKE_PREFIX_PATH to override the search order.

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

          Which one of my two propositions is the right one ?

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

          Mikael SundellM 1 Reply Last reply
          0
          • SGaistS SGaist

            Which one of my two propositions is the right one ?

            Mikael SundellM Offline
            Mikael SundellM Offline
            Mikael Sundell
            wrote on last edited by
            #5

            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.

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

              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.

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

              Mikael SundellM 1 Reply Last reply
              0
              • SGaistS SGaist

                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.

                Mikael SundellM Offline
                Mikael SundellM Offline
                Mikael Sundell
                wrote on last edited by
                #7

                @SGaist

                Good idea! Will give it a try.

                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