Microsoft Visual C++ Runtime Library

this application has requested the Runtime to terminate it in an unusual way.


解决办法:

1. 在运行目录下新建qt.conf

qt.conf 内容

[Paths]
Prefix=./
Libraries=./
Plugins=./plugins



2. copy所需的动态库文件

2013/04/24 09:17 2,106,216 D3DCompiler_43.dll
2013/04/24 09:17 18,025,758 icudt49.dll
2013/04/24 09:17 3,090,303 icuin49.dll
2013/04/24 09:17 1,808,899 icuuc49.dll
2013/04/24 09:18 99,328 libEGL.dll
2013/04/24 09:18 115,200 libgcc_s_sjlj-1.dll
2013/04/24 09:18 968,704 libGLESv2.dll
2013/04/24 09:18 895,488 libstdc++-6.dll
2013/04/24 09:18 68,608 libwinpthread-1.dll
2013/05/16 12:15

plugins
2013/05/09 10:30 53 qt.conf
2013/04/24 09:18 4,279,808 Qt5Core.dll
2013/04/24 09:18 3,493,376 Qt5Gui.dll
2013/04/26 09:40 87,552 Qt5SerialPort.dll
2013/04/24 09:18 5,210,624 Qt5Widgets.dll


3. 新建 plugins目录

将Qt\Qt5.0.2\5.0.2\mingw47_32\plugins 下的 platforms目录拷到 新建的plugins目录下

将plugins\platforms 另两个qminimald.dll 和 qwindowsd.dll 删除,即清除debug所需的动态库
保留下面两个动态库

2013/04/24 09:18 43,520 qminimal.dll
2013/04/24 09:18 1,064,448 qwindows.dll