Answer the question
In order to leave comments, you need to log in
How to compile .exe along with .dll and .lib libraries in QT?
There is a project on the pluses in qt creator, what should I write in the pro file so that all dll dependencies fit into the executable file?
Answer the question
In order to leave comments, you need to log in
You need static linking. You will most likely have to build Qt with the appropriate flags.
Search keywords qt static linking.
Dll - nothing.
You need a static build of Qt. Either collect it yourself, or find it.
For example, here is precompiled qt4 qt5 You
also need to take into account that a static build does not fit well with a free Qt license
. There is a windeployqt.exe utility in the bin folder of the Qt kit; it can report everything that is needed for the application to work.
Static linking - this is only available in the paid version.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question