Answer the question
In order to leave comments, you need to log in
How to build a release version of an application in Qt?
The application is launched through the Creator, set the Release build type, assembled the project. In the folder, the file does not start, looked at stackoverflow, they write everything that needs to be walked through the dependency walker to understand which dlls are missing. ... Isn't there some simpler way to release the application build on qt ???
Answer the question
In order to leave comments, you need to log in
1) go to the folder with the collected *.exe file.
2) copy the path not to the file, but to the folder where this file is located from step 1
3) run the "Qt command line (with the compiler you need .. there may be several of them)" through the "Start" menu.
4) using the command cd /d <путь из п.2>
in the console that opens, go to the folder with the collected *.exe
5) execute windeployqt.exe .
6) done. All necessary *.dll will be copied to the folder with the executable file.
Google for "Qt static linking".
In short, you need to "rebuild" the compiler so that it links all these dlls with the release version of the program
Is there really no simpler way to release the application build on qt ???
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question