1. Ensure the correct configuration of the management suite
2. Directory:
Example: D:\Qt\Qt5.14.1\5.14.1\mingw73_64, copy several files in the directory to the same directory of exe
libgcc_s_seh-1.dll
libstdc ++ - 6.dll
libwinpthread-1.dll
make_directory.bat
platforms
Qt5Core.dll
Qt5Gui.dll
Qt5Widgets.dll
You have to copy the entire folder of platforms under the mingw73_64\plugins directory and copy it to the same directory as the exe
3. Add the path, D:\Qt\Qt5.14.1\5.14.1\mingw73_64 to the environment variable path. Where QT is installed, find the same folder name and path. I am here as a demonstration of D drive- txwtech.
When the selected debug is built, the file is copied to the debug directory, and the release is the release directory.
Directory example:
build-hello1-Desktop_Qt_5_14_1_MinGW_64_bit-Debug,
build-hello1-Desktop_Qt_5_14_1_MinGW_64_bit-Release