无法定位程序输入点strnlen于动态链接库msvcrt.dll上(Qt XP)
来源:互联网 发布:互联网中文域名 编辑:程序博客网 时间:2024/05/29 03:04
Qt应用程序在XP(sp3)系统上出现上述错误
使用的Qt版本是5.6.2,我的应用程序中包含D3Dcompiler_47.dll和opengl32sw.dll
解决方法1:
移除D3Dcompiler_47.dll文件只使用opengl32sw.dll是可以的
解决方法2:
毕竟xp现在用的人比较少,方法1为了适应xp而移除文件总感觉有些隐患(这些依赖库是通过windeployqt.exe工具打包来的)。
在QApplication实例化之前增加如下代码,这样就强制在xp上不使用D3Dcompiler_47.dll。
QSysInfo::WinVersion ver = QSysInfo::windowsVersion();if (QSysInfo::windowsVersion() == QSysInfo::WV_XP) { // 为了支持XP QGuiApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);}
参考:
Qt for Windows
Qt 5 on Windows ANGLE and OpenGL
阅读全文
0 0
- 无法定位程序输入点strnlen于动态链接库msvcrt.dll上(Qt XP)
- 无法定位程序输入点strnlen于动态链接库msvcrt.dll上
- xp 无法定位程序输入点 _wfopen_s 于动态链接库 msvcrt.dll 上
- 无法定位程序输入点...于动态链接库 msvcrt.dll上
- 无法定位程序输入点_except_handler4_common于动态链接库msvcrt.dll上
- 无法定位程序输入点 _except_handler4_common 于动态链接库msvcrt.dll上
- 无法定位程序输入点_except_handler4_common于动态链接库msvcrt.dll上
- 开机后显示无法定位程序输入点于动态链接上(定位程序输入点_except_handler4_common于动态链接msvcrt.dll上)
- 无法定位程序输入点 _except_handler4_common 于动态库msvcrt.dll上
- firefox 无法定位程序输入点_except_handler4_common与动态链接库msvcrt.dll上怎么解决
- 无法定位程序输入点到_ftol2于动态链接库msvcrt.dll的错误的解决
- "无法定位程序输入点_except_handler4_common于动态连接库msvcrt.dll"
- 无法定位程序输入点func于动态库msvcrt.dll
- 无法定位程序输入点 _except_handler4_common 于动态链接库 msvcrt.dl
- QT安装过程中报错无法定位程序输入点except1 于动态链接库MSVCR120D dll上
- win+VS2010+Qt 无法定位程序输入点 于动态链接库Qtcore4.dll等问题
- QT无法定位程序输入点*于动态链接库 QtCore4.dll 解决方法
- win+VS2010+Qt 无法定位程序输入点 于动态链接库QtGuid4.dll问题
- h5开发中常见的问题汇总
- QWebEngineView支持XP
- 工业自动化的发展趋势
- 如何清理myeclipse自带的tomcat的缓存
- Hadoop基础教程-第7章 MapReduce进阶(7.1 MapReduce过程)(草稿)
- 无法定位程序输入点strnlen于动态链接库msvcrt.dll上(Qt XP)
- 【笔记】Hadoop-HA集群搭建
- 反射
- 老毛桃一键还原软件超强发布
- u3d The referenced script on this Behaviour is missing
- css中position属性(absolute|relative|static|fixed)详解
- Win7不激活会怎么样 Win7可以不用激活吗
- 一句话阐述Haskell基本概念---个人翻译
- php运算符