LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File glu_include.patch of Package qwtplot3d (Project home:bigironman:hrv)

--- include/qwt3d_openglhelper.h	2005-07-19 17:40:28.000000000 +0200
+++ include/qwt3d_openglhelper.h.qt480	2012-03-26 19:42:02.000000000 +0200
@@ -4,8 +4,11 @@
 #include "qglobal.h"
 #if QT_VERSION < 0x040000
 #include <qgl.h>
+#elif QT_VERSION < 0x040800
+#include <QtOpenGL/qgl.h>
 #else
 #include <QtOpenGL/qgl.h>
+#include <GL/glu.h>
 #endif
 
 namespace Qwt3D