Fix build against OSG 3.5.3

pull/1/head
scrawl 9 years ago
parent 9eab3b1728
commit a1f323f528

@ -37,9 +37,6 @@ namespace osgQt
// forward declarations // forward declarations
class GraphicsWindowQt; class GraphicsWindowQt;
/// The function sets the WindowingSystem to Qt.
void initQtWindowingSystem();
/** The function sets the viewer that will be used after entering /** The function sets the viewer that will be used after entering
* the Qt main loop (QCoreApplication::exec()). * the Qt main loop (QCoreApplication::exec()).
* *

@ -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 ) void osgQt::setViewer( osgViewer::ViewerBase *viewer )
{ {
HeartBeat::instance()->init( viewer ); HeartBeat::instance()->init( viewer );

Loading…
Cancel
Save