Deploy QT applicaton in Windows sytem
05 Mar 2019Deploy QT application for windows
description
QT has a utility can help you to prepare all of dependence dynamic libraries, it can let you deploy application more convenient.
pre-condition
- assume QT source code in path <src_path>, and all of QML files are stored in <src_path>\qml
- a built application file <application> and stored in <release> folder
- QT utilities are stored in <qt_common_folder>/bin (e.g. c:\Qt\x.xx\mingw_xx\bin)
procedure
cd <release>
<qt_common_folder>\bin\windeployqt.exe --qml_dir <src_path>\qml <application>
this utility will copy the common libraries to the release folder