Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Link with libraries from lib folder?
Forum Updated to NodeBB v4.3 + New Features

Link with libraries from lib folder?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 444 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello. In the QT/VERSION/msvc2019_64 folder, there are several folders. One is the bin folder and another is the lib folder. The bin contains DLL files and the lib folder contains the static files. These are installed by the installer. How can I link to the static libraries instead of the dynamic libraries? The wiki mentions a configure command, but that's nowhere to be found. I'm using qmake with a .pro file

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Mandar1jn said in Link with libraries from lib folder?:

      the lib folder contains the static files.

      No, it just contains the static import libraries neede to link against the dlls

      I'm using qmake with a .pro file

      Then you don't need to care about where the import libs are - qmake knows it.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      ? 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        @Mandar1jn said in Link with libraries from lib folder?:

        the lib folder contains the static files.

        No, it just contains the static import libraries neede to link against the dlls

        I'm using qmake with a .pro file

        Then you don't need to care about where the import libs are - qmake knows it.

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @Christian-Ehrlicher said in Link with libraries from lib folder?:

        No, it just contains the static import libraries neede to link against the dlls

        Okay. So, then how would I link qt statically?

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

          Hi,

          You first have to build Qt statically yourself.

          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
          • SGaistS SGaist

            Hi,

            You first have to build Qt statically yourself.

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            @SGaist said in Link with libraries from lib folder?:

            You first have to build Qt statically yourself.

            Okay. Thank you. Since I'm using a workflow that doesn't download the source files, I've decided to just build with dll's.

            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