查看完整版本: [-- quick2运行问题This plugin does not support createPlatformOpenGLContext --]

QTCN开发网 -> Qt嵌入式开发 -> quick2运行问题This plugin does not support createPlatformOpenGLContext [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

harmful 2014-12-22 16:25

quick2运行问题This plugin does not support createPlatformOpenGLContext


各位高手,小弟刚刚接触Qt5.3.2及Quick,我的板子是mips的,交叉编译成功后,写了qt quick2的测试代码,其中用到了qml.但当我在板子上运行时总是报错,错误如下:
QML debugging is enabled. Only use this in a safe environment.
This plugin does not support createPlatformOpenGLContext!
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile  0)
Aborted
无论我在运行时用 -platform linuxfb还是-platform eglfs都报这个错
请问各位高手这是什么原因,小弟改如何解决

自强不吸 2016-10-18 19:02
楼主解决了吗
我也是这个问题困扰好久了

dylan1324 2017-01-16 16:36
我也遇到这个问题啦,有哪位大神解决了


查看完整版本: [-- quick2运行问题This plugin does not support createPlatformOpenGLContext --] [-- top --]



Powered by phpwind v8.7 Code ©2003-2011 phpwind
Gzip disabled