Not a question so much as a note for the archives.

If you want ViewerQOSG to be able to handle signals it must have a Q_OBJECT 
definition.
In order to do this the viewerQT example must swap the order of the definition
to "class ViewerQOSG : public QOSGWidget, public osgViewer::Viewer"
The QT moc assumes that the parent class derived from QObject is first in the 
list.

In addition QOSGWidget must not have a Q_OBJECT since you cannot inherit from 
multiple Q_OBJECT defined classes.

Martin


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to