diff --git a/extern/osgQt/GraphicsWindowQt b/extern/osgQt/GraphicsWindowQt index ad456ef44..3be1da051 100644 --- a/extern/osgQt/GraphicsWindowQt +++ b/extern/osgQt/GraphicsWindowQt @@ -37,9 +37,6 @@ namespace osgQt // forward declarations class GraphicsWindowQt; -/// The function sets the WindowingSystem to Qt. -void initQtWindowingSystem(); - /** The function sets the viewer that will be used after entering * the Qt main loop (QCoreApplication::exec()). * diff --git a/extern/osgQt/GraphicsWindowQt.cpp b/extern/osgQt/GraphicsWindowQt.cpp index 46df7216c..78a2ae616 100644 --- a/extern/osgQt/GraphicsWindowQt.cpp +++ b/extern/osgQt/GraphicsWindowQt.cpp @@ -639,20 +639,6 @@ private: }; -// declare C entry point for static compilation. -extern "C" void graphicswindow_Qt(void) -{ - osg::GraphicsContext::setWindowingSystemInterface(QtWindowingSystem::getInterface()); -} - - -void osgQt::initQtWindowingSystem() -{ - graphicswindow_Qt(); -} - - - void osgQt::setViewer( osgViewer::ViewerBase *viewer ) { HeartBeat::instance()->init( viewer );