Source: qwtplot3d
Version: 0.2.7+svn191-5
Tags: patch
User: [email protected]
Usertags: qt48-transition
Hi,
Your package fails to build against Qt 4.8 which is currently in experimental.
The transition to unstable/testing is tracked in bug #653903.
I'm attaching a patch that contains the necessary changes.
It can be applied even before Qt 4.8 enters unstable.
Build log:
> g++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIC -DGL2PS_HAVE_ZLIB
> -DQT_OPENGL_LIB -DQT_GUI_LIB
> -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
> -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4
> -Iinclude
> -I/usr/X11R6/include -Itmp -o tmp/qwt3d_axis.o src/qwt3d_axis.cpp
> In file included from include/qwt3d_types.h:26:0,
> from include/qwt3d_drawable.h:7,
> from include/qwt3d_label.h:10,
> from include/qwt3d_axis.h:5,
> from src/qwt3d_axis.cpp:1:
> include/qwt3d_openglhelper.h: In function 'const GLubyte* Qwt3D::gl_error()':
> include/qwt3d_openglhelper.h:67:31: error: 'gluErrorString' was not declared
> in this scope
> include/qwt3d_openglhelper.h: In function 'bool
> Qwt3D::ViewPort2World(double&, double&, double&,
> double, double, double)':
> include/qwt3d_openglhelper.h:104:97: error: 'gluUnProject' was not declared
> in this scope
> include/qwt3d_openglhelper.h: In function 'bool
> Qwt3D::World2ViewPort(double&, double&, double&,
> double, double, double)':
> include/qwt3d_openglhelper.h:120:95: error: 'gluProject' was not declared in
> this scope
> make[1]: *** [tmp/qwt3d_axis.o] Error 1
Regards,
Felix
--- qwtplot3d-0.2.7+svn191.orig/include/qwt3d_openglhelper.h
+++ qwtplot3d-0.2.7+svn191/include/qwt3d_openglhelper.h
@@ -8,6 +8,8 @@
#include <QtOpenGL/qgl.h>
#endif
+#include <GL/glu.h>
+
namespace Qwt3D
{