How to make the exe file by Static build to include 3rd party dll
-
HI All:
I use Qt Creator 4.15.0
QT5.15.2, MSVC 2019
At present, the static compilation has been completed. The generated executable file (.EXE) does not require QT-related DLL, but I use a third-party ABC.DLL, which is linked through an ABC.LIB.
The EXE file I compiled must be placed together with the ABC.DLL file before it can be executed.
Is there any way to make this EXE independent without needing the ABC.DLL file?
-
@Kingofheart said in How to make the exe file by Static build to include 3rd party dll:
Is there any way to make this EXE independent without needing the ABC.DLL file?
The same as for a Qt static build - you need a static build of your dependent libs.
-
thanks for your reply
This LIB and DLL cannot be modified further. Is there no other way for QT to merge the DLL files?
-
@Kingofheart said in How to make the exe file by Static build to include 3rd party dll:
. Is there no other way for QT to merge the DLL files?
I don't see what Qt has to do with it. You can not simply convert a shared into a static lib except recompiling.
-