diff --git a/ground/gcs/src/libs/osgearth/osgearth.cpp b/ground/gcs/src/libs/osgearth/osgearth.cpp index 26aa902ce..883dccb82 100644 --- a/ground/gcs/src/libs/osgearth/osgearth.cpp +++ b/ground/gcs/src/libs/osgearth/osgearth.cpp @@ -69,6 +69,9 @@ void OsgEarth::registerQmlTypes() } registered = true; + // redirect osg logging to Qt (use OSG_DEBUG environment variable to enable osg logging) + // osg::setNotifyHandler(new QtNotifyHandler()); + // initialize(); // Register Qml types