Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
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.