A basic scaffold to embed OpenSceneGraph into QOpenGLWidget.
vim config.local
CMAKE_PREFIX_PATH=C:/Qt/5.8/msvc2015
ENV{OSG_DIR}=C:/Program Files (x86)/OpenSceneGraph
vim copy_dlls.local
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgDBd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgGAd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgUtild.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgViewerd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/ot21-OpenThreadsd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgTextd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osgPlugins-3.6.2/osgdb_osgd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osgPlugins-3.6.2/osgdb_deprecated_osgd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osgPlugins-3.6.2/osgdb_deprecated_osganimationd.dll
mkdir build
cd build
cmake ..
cmake --build .