Package: libqwtplot3d-qt4
Version: 0.2.7+svn191-6
Tags: patch

libqwtplot3d-qt4 needs to be linked against libGLU.
>From the build log:
> dpkg-shlibdeps: warning: symbol gluDeleteQuadric used by
debian/libqwtplot3d-qt4-0/usr/lib/libqwtplot3d-qt4.so.0.2.7 found in none of 
the libraries.
> dpkg-shlibdeps: warning: symbol gluNewQuadric used by
debian/libqwtplot3d-qt4-0/usr/lib/libqwtplot3d-qt4.so.0.2.7 found in none of 
the libraries.

Without this applications that use libqwtplot3d need to be linked against
GLU (as you've seen with the libqwtplot3d example applications) even
when they don't use GLU directly.

Please also add "libglu1-mesa-dev | libglu-dev" to build-depends since
qwtplot3d uses glu directly and you can't rely on libqt4-opengl-dev to
continue pulling it in.

--- qwtplot3d-0.2.7+svn191.orig/qwtplot3d.pro
+++ qwtplot3d-0.2.7+svn191/qwtplot3d.pro
@@ -93,6 +93,8 @@ HEADERS+=3rdparty/gl2ps/gl2ps.h \
 SOURCES+=src/qwt3d_io_gl2ps.cpp \
          3rdparty/gl2ps/gl2ps.c
 
+unix:LIBS += -lGLU
+
 # zlib support for gl2ps
 zlib {
   DEFINES += GL2PS_HAVE_ZLIB

Reply via email to