PDA

View Full Version : Get HWND of QGLWidget



pl01
19th December 2010, 20:53
Hi,

I use the QGLWidget and "under windows" I would like to get the GL viewport HWND.
How can I do this ?

It is necessary, because my engine control the rendering (and it is not linked to QT).
Then I need the HWND under Windows ?

Thx

ChrisW67
19th December 2010, 21:13
QWidget::WinId()

pl01
19th December 2010, 21:18
Thanks for your help :-)