[QtonPi] 3d example using qt

Samuel Rødal samuel.rodal at digia.com
Wed Feb 27 08:37:52 CET 2013


On 02/27/2013 03:41 AM, Pierre Chicoine wrote:
> I've tried the hellogl_es2 from qt5 samples and it flashes one 3d frame
> and then goes black. The slider doesn't work and the menu is hokey.
>
> If anyone has a sample that works with 3d using QT5 on the raspberry, it
> would save me a lot of wasted time chasing a ghost.

Yes, hellogl_es2 tries to create multiple native windows (both raster 
and OpenGL windows) which is not fully supported by eglfs. That's why I 
suggested hellowindow, which uses a single QWindow, at least if you run 
it with "hellowindow --single".

> On Tue, Feb 26, 2013 at 1:45 AM, Samuel Rødal <samuel.rodal at digia.com
> <mailto:samuel.rodal at digia.com>> wrote:
>
>     On 02/26/2013 06:26 AM, Pierre Chicoine wrote:
>      > Does anyone have an example showing the use of 3d on the Raspberry PI
>      > with normal OpenGL ES2 calls? Preferably QT5.
>
>     Try the hellowindow example in qtbase/examples/opengl.
>
>     --
>     Samuel
>
>     _______________________________________________
>     QtonPi mailing list
>     QtonPi at qt-project.org <mailto:QtonPi at qt-project.org>
>     http://lists.qt-project.org/mailman/listinfo/qtonpi
>
>



More information about the QtonPi mailing list