This solution focuses on solving the error as follows:
This application have requested the Runtime to terminate it on an unusual.
The error.
That
The error is that when a QT5 application is published, it is necessary to bring some. dll files to the file path where the EXE resides, such as:
Especially the platforms folder, to run under the Windows system, you must add this folder, and the name must be platforms, which should contain: Qminimald.dll and qwindowsd.dll two files, these. dll files in \qt\qt\5.3\mingw482_32\bin can be found under the drive letter, either copy them to the EXE path, or you will change the system path, So that EXE can find it to run the. dll file, change path I have not yet tried, and later try to update it.
Also, do not copy these. dll files to C:\Windows\System32, such as Libstdc++-6.dll, if you copy this file to System32, then you write the C + + program will not run, So do not put the system. dll files in place.
Also, when your application loads a file in the format of a response such as PNG, ICO, JPG, you need the appropriate plug-in support, you need to create a new plug-in DLL named Imageformats folder in the application directory and add a response. For example: If the program inside the ICO format icon file, you need to add qico.dll, otherwise, the program will not show the icon file when running.
Hopefully this solution will help you to answer your doubts.
QT5 Publishing an EXE application under Windows cannot be performed by an issue solution