[osg-users] osgviewerQT example

John Ivar Haugland john.haugland at gmail.com
Wed Mar 18 14:12:46 PDT 2009


 I forgot to initialize the ViewerQOSG with a pointer (this) to the
QMainWindow  "_viewer = new ViewerQOSG(this)". It is ok now.
John Ivar Haugland

On Wed, Mar 18, 2009 at 3:20 PM, John Ivar Haugland <john.haugland at gmail.com
> wrote:

> Hi,
>
> I tried to set the QOSGWidget from the examples as central widget in a
> QApplication (using setCentralWidget). It did not work (the central
> widget  came up empty). Have anyone tried that before, or know what the
> problem can be? (A single-threaded QGLWidget based widget will work, but the
> QOSGWidget can use all threading models)
> Platform: Windows XP 32bit, OpenSceneGraph 2.8.0, QT 4.3.3, Visual Studio
> 2008 Pro.
> John Ivar Haugland
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090318/33eda466/attachment-0003.htm>


More information about the osg-users mailing list