To publish a program, you first need to compile the program using release, and then package the resulting. exe executable file and the required library files together for publishing.
To determine which dynamic library files are required, you can simply double-click the. exe file to prompt the missing DLL file to copy the DLL file into the bin directory of the Qt installation directory (for example,--c:\qt\qt5.5.1\5.5\mingw492_32\bin). The General QT Quick Application project is published under the Windows platform, and the DLL files required are generally icudt52.dll, Icuin52.dll, Icuuc52.dll, Libgcc_s_dw2-1.dll, LIBSTDC ++-6.dll, Lib-winpthread-1.dll, Qt5Core.dll, Qt5Gui.dll, Qt5NetWork.dll, Qt5Qml.dll and Qt5Quick.dll (depending on the module used, Additional files may also be required). In addition, the release of the quick program on the Windows platform requires that the platforms directory in the plugins directory be copied. It only needs to keep the Qwindows.dll file, and finally, the Qtquick.2 directory in the QML directory needs to be copied, the Qmldir and qtquick2plugin.dll two files need to be preserved.
Release of Qt Quick Program