一、requested the runtime
系统:Win7 32bit
Qt 版本:qt-opensource-windows-x86-android-5.5.0
安装完成后,新建名为 helloworld 的 Qt quick 工程,运行该项目时,出现以下故障
故障情况如下
1、Microsoft Visual C++ Runtime Library
this application has requested the runtime to terminate it in an unusual way.please contact the aplication's support team for more information.
2、应用程序输出中显示 Failed to load opengl32sw.dll
3、解决办法:
找到 C:\Qt\Qt5.5.0\Tools\QtCreator\bin\opengl32sw.dll ,把该动态链接库 opengl32sw.dll 拷贝到系统目录 C:\Windows\System32 下就可以了
二、运行时.exe crash
系统:Win7 32bit
安装完成后,新建名为 helloworld 的 Qt quick 工程,运行该项目时,出现以下故障
一般出现运行时 .exe crash 为相应的链接库没加载成功。(qt-opensource-windows-x86-mingw530-5.7.1.exe是可能存在问题的,不要安装这一版本)
解决方法:
1、卸载重装软件。
2、若提示丢失 Qt5Core.dll 等 dll :
1> 直接更换或拷贝 别人安装成功的链接库文件到 C:\Qt\Qt5.7.0\5.7\mingw53_32\bin;
2> 将 Qt5Core.dll 所在目录添加到 Windows 系统的环境变量中,“计算机” → “属性” → “高级系统设置” → “环境变量” → “系统变量” → “path” ,添加 “ ;C:\Qt\Qt5.7.0\5.7\mingw53_32\bin; ”;
3、若还提示缺少 Qt5Core.dll 等 dll
1> 将相应缺少的 dll 拷贝到相应的 debug 或者 release 运行目录中
反正缺少什么你就拷什么。