Problems with KDevelop when using Qt QGLWidget
Peyre
peyre at sans-logis.u-strasbg.fr
Tue Aug 24 11:23:31 BST 1999
Hi,
I need to implement an application for my job and I have found quite pretty to
use KDevelop in that goal. Further more, I need to use OpenGL libraries for
rendering. Whereas everithing was alright up to now, the compiler fails since
I use QGLWidget.
In fact, all I have done is to create a new class whose header is:
#ifndef MAINVIEW_H
#define MAINVIEW_H
#include <qwidget.h>
#include <qgl.h>
class MainView : public QGLWidget{
Q_OBJECT
public:
MainView();
~MainView();
};
#endif
I have not added anything yet in the mainview.cpp file.
When compiling the folowing messages are returned.
gmake: Entering directory `/home/peyre/these/dev/learning/sample3/sample3'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/qt/include -I/usr/X11R6/include -O0 -g3 -Wall -c mainview.cpp
/usr/bin/moc ./mainview.h -o mainview.moc.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/qt/include -I/usr/X11R6/include -O0 -g3 -Wall -c mainview.moc.cpp
/bin/sh ../libtool --silent --mode=link g++ -O0 -g3 -Wall -o sample3 -L/usr/X11R6/lib mainview.o sample3view.o sample3doc.o sample3.o mainview.moc.o sample3.moc.o sample3doc.moc.o sample3view.moc.o main.o -lqgl -lMesaGL -lkab -lkspell -lkfile -lkfm -lkhtmlw -lkimgio -ljpeg -ltiff -lpng -lm -ljscript -lkdeui -lkdecore -lqt -lXext -lX11
/usr/local/qt/lib/libqgl.a(qgl.o): In function `choose_cmap(_XDisplay *, XVisualInfo *)':
qgl.o(.text+0x66d): undefined reference to `XmuLookupStandardColormap'
collect2: ld returned 1 exit status
gmake: *** [sample3] Error 1
gmake: Leaving directory `/home/peyre/these/dev/learning/sample3/sample3'
*** échoué ***
Maybe Qt is not installed correctly. If this is the case, could somebody help me
to install it in the good way.
I don't know what to do anymore and I'm feeling desperate, so PLEASE HELP !
--
Hubert Peyré
Pole API - Bd Sébastien Brant - 67400 Illkirch
Tel : +33 (0) 388 65 55 41
E-mail : peyre at dpt-info.u-strasbg.fr
More information about the KDevelop
mailing list