From fabdea9eee0a079902c9a132c3601ce40e0e8eee Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Wed, 9 Dec 2015 08:35:48 +0100 Subject: [PATCH] LP-29 redirect osg logging to Qt (commented out for now) --- ground/gcs/src/libs/osgearth/osgearth.cpp | 3 +++ 1 file changed, 3 insertions(+) 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