[SailfishDevel] qml and opengl/c++
Wim de Vries
wsvries at xs4all.nl
Tue Dec 17 19:45:58 UTC 2013
Tnx
Works fine.
On 12/17/2013 12:16 PM, Thomas Perl wrote:
> Hi,
>
> 2013/12/6 Wim de Vries <wsvries at xs4all.nl>:
>> 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
>
More information about the Devel
mailing list