找回密码
 立即注册
收起左侧

为我的qml都显示各窗口 没有其他东西

3
回复
10956
查看
[复制链接]

尚未签到

来源: 2015-6-18 23:06:27 显示全部楼层 |阅读模式
1Qter豆
程序输出貌似是opengl没有链接
win8.1 qt5.4
这个怎么弄?
求大神

最佳答案

查看完整内容

是的,标准版本qt必须用opengl。 当然也有非标准版本运行在cpu模拟加速下。
回复

使用道具 举报

尚未签到

2015-6-18 23:06:28 显示全部楼层
是的,标准版本qt必须用opengl。

当然也有非标准版本运行在cpu模拟加速下。
回复

使用道具 举报

尚未签到

2015-6-18 23:22:23 显示全部楼层
QML debugging is enabled. Only use this in a safe environment.
static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): Could not initialize EGL display: error 0x3001

static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): When using ANGLE, check if d3dcompiler_4x.dll is available
Failed to load opengl32sw.dll (找不到指定的模块。)
static QOpenGLStaticContext* QOpenGLStaticContext::create(bool): Failed to load and resolve WGL/OpenGL functions
static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): Could not initialize EGL display: error 0x3001

static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): When using ANGLE, check if d3dcompiler_4x.dll is available
Failed to load opengl32sw.dll (找不到指定的模块。)
static QOpenGLStaticContext* QOpenGLStaticContext::create(bool): Failed to load and resolve WGL/OpenGL functions
static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): Could not initialize EGL display: error 0x3001

static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): When using ANGLE, check if d3dcompiler_4x.dll is available
Failed to load opengl32sw.dll (找不到指定的模块。)
回复

使用道具 举报

尚未签到

2015-6-19 01:14:42 显示全部楼层
解决啦
我是在vbox虚拟机里运行的  vbox的虚拟显卡对opengl支持不好  所以不行
换在有正常显卡驱动的就正常了
qml现在都是用opengl渲染的 所以opengl必须要正常
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

公告
可以关注我们的微信公众号yafeilinux_friends获取最新动态,或者加入QQ会员群进行交流:190741849、186601429(已满) 我知道了