diff --git a/include/osg/GL b/include/osg/GL index 7a3c7aae1..1f387c624 100644 --- a/include/osg/GL +++ b/include/osg/GL @@ -122,6 +122,12 @@ #include #else #include + + // hack required to avoid conflicts with Qt + // Qt expects GLdouble to be a macro ?! + #ifndef GLdouble + #define GLdouble double + #endif #endif #endif #endif