[QtonPi] Qt Gles 2.0
Samuel Rødal
samuel.rodal at digia.com
Mon Oct 15 10:34:17 CEST 2012
On 10/14/2012 04:18 PM, Eden Harris wrote:
> Hi I have been having trying to run a qt gl app.
>
> I kept finding that it would fail complaining that the shaders would
> not compile. I tried running some of the opengl example programs and
> found only some of them would run. I found that hellowindow and
> hellogl_es would run fine but hellogl_es2 would crash and would
> complain that shaders would not compile as well. I decided to check
> compatible gl versions with QGLFormat::OpenGLVersionFlags. What I
> found was that Version 1 and 1.1 were fine but 2.0 was not supported.
>
> Has anyone else ben able to get hellogl_es2 or any other gl es 2.0 qt
> program to work on the pi?
I would like to point out that hellowindow is also GLES 2.0 based.
hellogl_es2 might have issues since it's creating an embedded QGLWidget
and I'm not sure how good the support for multiple top-level widgets /
windows is in the eglfs plugin.
Although I think hellogl_es might do the same thing...
Btw, qmlscene also uses GLES 2.0, and many people have had it running on
the Pi. It's a less complicated case than the hellogl_* variants since
it only creates a single QWindow.
--
Samuel
More information about the QtonPi
mailing list