[Interest] Embedding QWindow

rap rap at dlc.fi
Mon Aug 4 22:53:39 CEST 2014

From: Ian Monroe

On Mon, Aug 4, 2014 at 12:32 PM, rap <rap at dlc.fi> wrote:
>> Why do you want to use QWindow if you are using QWidget-based windows?
>>>  QGLWidget seems like the correct solution.
>> Your question arises a question of the purpose and usefulness of QWindow
>> class regarding opengl if you can not easily create UI controls to go with
>> it, at least in a SDI application.   I'll check how things turn out with MDI
>> and QWindow for child wnds.

>Sure you can create UI controls with QWindow, just use QML and Qt
>Quick Controls.You could do your own OpenGL stuff by subclassing
>QQuickItem. That's what QWindow is for. It's not meant to be poor
>replacement for QGLWidget.


OK, I'm not familiar with QML & QtQuick at all yet, only quite recently started using Qt as an alternative for MS. If those support 
OpenGL core profile 4+ then I'll have to take a look when I have the time, for now I have to stick with Qt Creator.


More information about the Interest mailing list