17 #if(FEVV_USE_QT5) // FOR_QT6
18 #include <osgQOpenGL/osgQOpenGLWidget>
19 #include <osgQOpenGL/osgQOpenGLWindow>
21 #include <osgQt/GraphicsWindowQt>
26 #pragma GCC diagnostic push
27 #pragma GCC diagnostic ignored "-Wdeprecated-copy"
30 #include <osgViewer/ViewerEventHandlers>
33 #pragma GCC diagnostic pop
36 #ifndef Q_MOC_RUN // MT : very important to avoid the error : ' Parse error at
69 std::cout <<
"*** this=" <<
this <<
" entering " << __func__ << std::endl;
78 std::cout <<
"*** this=" <<
this <<
" leaving " << __func__ << std::endl;
84 void init(
const bool _useMdiWindows);
86 bool isInit()
const override;
97 #if(FEVV_USE_QT5) // FOR_QT6
117 #if(FEVV_USE_QT5) // FOR_QT6
120 void addViewWidget(osg::ref_ptr< osgQt::GraphicsWindowQt > _gw,
121 osg::ref_ptr< osg::Node > _scene);
123 osg::ref_ptr< osgQt::GraphicsWindowQt >
128 const std::string &_name =
"",
129 bool _windowDecoration =
false)
const;
135 #if(FEVV_USE_QT5) // FOR_QT6
137 osgQOpenGLWidget *my_osgQOpenGLWidget =
nullptr;
138 osgQOpenGLWindow *my_osgQOpenGLWindow =
nullptr;