Link with libraries from lib folder?
-
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
-
@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.
-
@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.
@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?
-
Hi,
You first have to build Qt statically yourself.
-
@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.