After the QT project has been developed, we want to package the project into an executable file that requires the following steps:
First, copy the executable file from the release file in the project to a new folder, such as Project.exe, with the program WINDEPLOYQT that generates the necessary DLL file with QT, to copy the required dynamic library into the folder, open the command line, enter WINDEPLOYQT Project.exe, this time most of the DLL files are automatically copied, but if the project also uses some other SDK, such as OPENCV, FlyCapture2 and so on, you need to manually copy the required DLLs, If you don't know what software you need, you can use Dependency walker to see which DLL files are missing.
Then, we need to use the packaging tool Enigma Virtual Box, after the download is complete, open the software, visible to the following interface:
In Enter input file name, fill in the original executable program Project.exe, enter the name of the exported executables in Enter Output file name, default to Project_boxed.exe, then click "Add" below button, select "Add Files", add all the dependencies (DLL files), then click on the "Files Options" button, select "Enable Files Virtualization" and "Compressfiles", then click The Process button starts the conversion.
Qt Package Project Packaging Release Program