[Interest] Embedding QWindow

Ian Monroe ian at monroe.nu
Mon Aug 4 21:37:32 CEST 2014


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.

Ian



More information about the Interest mailing list