Re: [SailfishDevel] qml and opengl/c++
Tnx Works fine. On 12/17/2013 12:16 PM, Thomas Perl wrote: Hi, 2013/12/6 Wim de Vries : Some of you referred to the 'OpenGL Under QML' (http://qt-project.org/doc/qt-5.1/qtquick/scenegraph-openglunderqml.html) example. I got the example working in Sailfish. Only one problem. It doesn't show up within 'ApplicationWindow'. I have to comment ApplicationWindow{} out and use the Item as root element. Same problem to get it in 'Page'. Possibly there is already a Sailfish 'OpenGL Under QML'? I've posted an example here to demonstrate how this would be done in theory: https://github.com/thp/harbour-opengl-in-qml Obviously for a real application, you will have to make sure to stop the timer when the window goes into the background, etc.. HTH :) Thomas ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] qml and opengl/c++
Hi, 2013/12/6 Wim de Vries : > Some of you referred to the 'OpenGL Under QML' > (http://qt-project.org/doc/qt-5.1/qtquick/scenegraph-openglunderqml.html) > example. > I got the example working in Sailfish. > Only one problem. > It doesn't show up within 'ApplicationWindow'. I have to comment > ApplicationWindow{} out and use the Item as root element. > Same problem to get it in 'Page'. > Possibly there is already a Sailfish 'OpenGL Under QML'? I've posted an example here to demonstrate how this would be done in theory: https://github.com/thp/harbour-opengl-in-qml Obviously for a real application, you will have to make sure to stop the timer when the window goes into the background, etc.. HTH :) Thomas ___ SailfishOS.org Devel mailing list
[SailfishDevel] qml and opengl/c++
Hi, Some of you referred to the 'OpenGL Under QML' (http://qt-project.org/doc/qt-5.1/qtquick/scenegraph-openglunderqml.html) example. I got the example working in Sailfish. Only one problem. It doesn't show up within 'ApplicationWindow'. I have to comment ApplicationWindow{} out and use the Item as root element. Same problem to get it in 'Page'. Possibly there is already a Sailfish 'OpenGL Under QML'? Thanks. ___ SailfishOS.org Devel mailing list