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. Is it possible to use 3rd party libraries in Qt applications without install the library to the local machine?
Forum Update on Monday, May 27th 2025

Is it possible to use 3rd party libraries in Qt applications without install the library to the local machine?

Scheduled Pinned Locked Moved Solved 3rd Party Software
6 Posts 3 Posters 849 Views
  • 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.
  • atreidexA Offline
    atreidexA Offline
    atreidex
    wrote on last edited by
    #1

    I've been developing a Qt program which uses poppler library. I installed the library to Linux and MacOS systems easily, but couldn't handle it for Windows. The installation instructions were old and complex. To deploy program, I had to remove the feature that related with poppler library from Windows release. I wonder is it possible to use the library without install it to Windows? Like copying the library folder into the project folder and tweak the .pro file to link it. I tried this but I got an error like "undefined reference to __imp__ZN....".

    1 Reply Last reply
    0
    • atreidexA atreidex

      @aha_1980 No, I couldn't compile it. If a I search for a pre-compiled poppler library (but not compiled in my machine), can I use it?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #6

      @atreidex,

      yeah, that will work if the compiler is compatible.

      After all, the Qt libraries you use are also build on another system then yours...

      Regards

      Qt has to stay free or it will die.

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

        Hi,

        To link to a library on Windows you need the corresponding .lib file if using MSVC.

        What exactly do you have currently ?

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

        atreidexA 1 Reply Last reply
        2
        • SGaistS SGaist

          Hi,

          To link to a library on Windows you need the corresponding .lib file if using MSVC.

          What exactly do you have currently ?

          atreidexA Offline
          atreidexA Offline
          atreidex
          wrote on last edited by
          #3

          @SGaist

          Hi, I downloaded the library from its source: https://poppler.freedesktop.org/

          But it has no .lib file inside it. It consists of some .cpp, .h and .cc files. I'm using MinGW right now, but I can move to MSVC if necessary.

          aha_1980A 1 Reply Last reply
          0
          • atreidexA atreidex

            @SGaist

            Hi, I downloaded the library from its source: https://poppler.freedesktop.org/

            But it has no .lib file inside it. It consists of some .cpp, .h and .cc files. I'm using MinGW right now, but I can move to MSVC if necessary.

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @atreidex if you compile the lib yourself, use the same compiler as you use for your app. Otherwise they might not be compatible.

            Regards

            Qt has to stay free or it will die.

            atreidexA 1 Reply Last reply
            1
            • aha_1980A aha_1980

              @atreidex if you compile the lib yourself, use the same compiler as you use for your app. Otherwise they might not be compatible.

              Regards

              atreidexA Offline
              atreidexA Offline
              atreidex
              wrote on last edited by
              #5

              @aha_1980 No, I couldn't compile it. If a I search for a pre-compiled poppler library (but not compiled in my machine), can I use it?

              aha_1980A 1 Reply Last reply
              0
              • atreidexA atreidex

                @aha_1980 No, I couldn't compile it. If a I search for a pre-compiled poppler library (but not compiled in my machine), can I use it?

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #6

                @atreidex,

                yeah, that will work if the compiler is compatible.

                After all, the Qt libraries you use are also build on another system then yours...

                Regards

                Qt has to stay free or it will die.

                1 Reply Last reply
                1

                • Login

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