Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Qt5.3 with QGLWidget components: (2 Items)
   
Qt5.3 with QGLWidget components  
Hi,

is there any limitation using a QGLWidget inside my MainWindow? 

When i run my application with a QGLWidget as a component it draws a black box, instead of respecting my clearcolor. If 
i run this Widget outside of my MainWindow, it works perfectly.

Some examples in Qt requires -opengl desktop make defines, is there any way to do this?

Best regards,

Jefferson Soares Biernastki
Re: Qt5.3 with QGLWidget components  
Hi,

after some hours i detected the problem. When my layout is generated by UIC it reparent my QGLWidget on addWidget.

Parent A on new QGLWidget.
Parent B on addWidget.