diff --git a/examples/osgqfont/osgqfont.cpp b/examples/osgqfont/osgqfont.cpp index 9b4ebdce0..f82df0e4b 100644 --- a/examples/osgqfont/osgqfont.cpp +++ b/examples/osgqfont/osgqfont.cpp @@ -554,7 +554,7 @@ int main(int argc, char** argv) MainWindow widget; // set the scene to render - widget.setSceneData(group); + widget.setSceneData(group.get()); widget.setCameraManipulator(new osgGA::TrackballManipulator); widget.setGeometry(100, 100, 800, 600);