[SailfishDevel] QWindow in main?
Wim de Vries
wsvries at xs4all.nl
Fri Dec 6 16:07:12 UTC 2013
On 12/06/2013 12:30 PM, Robin Burchell wrote:
> On 06 Dec 2013, at 10:32, Wim de Vries <wsvries at xs4all.nl> wrote:
>> For now I am just trying to get a QWindow working together with some QML.
>> Problem starts with main. It is only about QQuickView.
>> Where to got with my QWindow?
>> Thanks.
> If you want to do OpenGL and QML together, you’ll need to use a QQuickView. QWindow is only useful for the case where you want to do all drawing yourself.
>
> See http://qt-project.org/doc/qt-5.1/qtquick/scenegraph-openglunderqml.html for an example of how this might work (pay particular attention to the Squircle class)
Ok. Thanks.
I'll have a try first (before porting my QWidget app).
Looks very QML controlled, need to make a C++ hookin to take over control.
>
> BR,
> Robin
> _______________________________________________
> SailfishOS.org Devel mailing list
>
More information about the Devel
mailing list