[osg-users] QT::FramelessWindowHint and OSG

Roman Grigoriev grigoriev at gosniias.ru
Wed Mar 11 06:06:39 PDT 2009


Sorry Guys 

I solved it if you set in constructor

ViewerQOSG(QWidget * parent = 0, const char * name = 0, WindowFlags f =
Qt::FramelessWindowHint):

            QOSGWidget( parent, name, f )

But I still have a message that recursive repaint detected if I use single
window on QOSGWidget

Is there a solution on it or it is normal?

 

From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Roman
Grigoriev
Sent: Wednesday, March 11, 2009 3:21 PM
To: osg-users at lists.openscenegraph.org
Subject: [osg-users] QT::FramelessWindowHint and OSG

 

Hi guys!

I haven't solved the problem with creating borderless window using QT 4.4.3

AdaptorWidget and QOSGWidget don't work when I simply add this line

viewerWindow->setWindowFlags(Qt::FramelessWindowHint);

If anyone solved it please email me. 

Thanx in advance

Bye

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090311/23557e9e/attachment-0003.htm>


More information about the osg-users mailing list