ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #02406
Re: opengl?
On Monday, 2013-06-17, Michael Zanetti wrote:
> Hi,
>
> On Monday 17 June 2013 17:18:32 Wim de Vries wrote:
> > Is openGL supported (via QGLWidget)?
>
> I guess it is, altough I discourage the use of QWidget on Ubuntu Touch.
>
> Anyways, yes, you can use C++/Qt OpenGL code. If you intent to just create
> a fullscreen View and paint everything yourself, I guess even QGLWidget is
> a valid option.
Unless the program needs other widgets, it is probably better to just use
QWindow and QOpenGLContext.
E.g. see here http://www.kdab.com/opengl-in-qt-5-1-part-1/
or here http://www.youtube.com/watch?v=GYa5DLV6ADQ
Cheers,
Kevin
References