compilation error.

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Mon Jul 22 16:21:01 UTC 2002


Hi there!

SuSE 7.2
Kernel 2.4.19rc2
Qt 3.0.5
KDE3.0.2

I get this compilation error when compiling the latest CVS snapshot of 
Gideon/Kdevelop:


librarydocdlgbase.cpp: In method 
`LibraryDocDlgBase::LibraryDocDlgBase(QWidget * = 0, const char * = 0, 
bool = FALSE, unsigned int = 0)':
librarydocdlgbase.cpp:49: invalid use of undefined type `class KLineEdit'
librarydocdlgbase.h:17: forward declaration of `class KLineEdit'
librarydocdlgbase.cpp:50: invalid use of undefined type `class KLineEdit'
librarydocdlgbase.h:17: forward declaration of `class KLineEdit'
librarydocdlgbase.cpp:51: no matching function for call to 
`QHBoxLayout::addWidget (KLineEdit *&)'
/usr/lib/qt/include/qlayout.h:378: candidates are: void 
QBoxLayout::addWidget(QWidget *, int = 0, int = 0)
librarydocdlgbase.cpp:62: invalid use of undefined type `class 
KURLRequester'
librarydocdlgbase.h:18: forward declaration of `class KURLRequester'
librarydocdlgbase.cpp:63: invalid use of undefined type `class 
KURLRequester'
librarydocdlgbase.h:18: forward declaration of `class KURLRequester'
librarydocdlgbase.cpp:64: no matching function for call to 
`QHBoxLayout::addWidget (KURLRequester *&)'
/usr/lib/qt/include/qlayout.h:378: candidates are: void 
QBoxLayout::addWidget(QWidget *, int = 0, int = 0)
librarydocdlgbase.cpp:75: invalid use of undefined type `class 
KURLRequester'
librarydocdlgbase.h:18: forward declaration of `class KURLRequester'
librarydocdlgbase.cpp:76: no matching function for call to 
`QHBoxLayout::addWidget (KURLRequester *&)'
/usr/lib/qt/include/qlayout.h:378: candidates are: void 
QBoxLayout::addWidget(QWidget *, int = 0, int = 0)
make[3]: *** [librarydocdlgbase.lo] Error 1
make[3]: Leaving directory `/root/kde3src/kdevelop/parts/doctreeview'


Should I use qt3.0.3 instead?

Thanks

-- 
Amilcar Lucas

---------------------------------------------------------------------------
             Institut fuer Datentechnik und Kommunikationsnetze
               Technische Universitaet Braunschweig, Germany      
 
Amilcar do Carmo Lucas			Tel. : +49 531 391 3751
Raum 1315				Fax  : +49 531 391 3750
Hans-Sommer Str. 66			Email: amilcar at ida.ing.tu-bs.de
D-38106 Braunschweig			
	   http://www.ida.ing.tu-bs.de/people/amilcar/home.e.shtml
---------------------------------------------------------------------------






More information about the KDevelop-devel mailing list