Compilation Fixes for Qr 3.0.5 KDE 3.0.1

Harald Fernengel harry at kdevelop.org
Fri Oct 11 14:53:04 UTC 2002


Hi,

On Friday 11 October 2002 14:30, Devrim Erdem wrote:
> 1.) I made the following changes to CVS head to compile Gideon :
>
> in addtooldlg.ui.h, added " #include "kurlrequester.h" " , to the list
> of includes.

this shoudln't be neccessary since kurlrequester.h is included in the 
generated .cpp file. Maybe your uic doesn't recognize KDE Widgets? If you do 
a "touch addtooldlg.ui && make", what's the uic call? If you look at the 
generated addtooldlg.cpp, is there a "#include <kurlrequester.h>" line?

> 2.) QTextEditor didn't compile with KDE 3.0.1 and Qt 3.0.5, I got linker
> errors like these :

[...]

>cpp:124: undefined reference to `QTextParagraph::at(int) const'
> /vires/devrim/Files/Gideon/kde3src_from_cvs/kdevelop/parts/qeditor/cindent.
>cpp:124: undefined reference to `QTextParagraph::at(int) const'
> /vires/devrim/Files/Gideon/kde3src_from_cvs/kdevelop/parts/qeditor/cindent.
>cpp:126: undefined reference to `QTextParagraph::remove(int, int)'
> /vires/devrim/Files/Gideon/kde3src_from_cvs/kdevelop/parts/qeditor/cindent.
>cpp:128: undefined reference to `QTextParagraph::string(void) const'
> /vires/devrim/Files/Gideon/kde3src_from_cvs/kdevelop/parts/qeditor/cindent.
>cpp:129: undefined reference to `QTextParagraph::append(QString const &,
> bool)'
> /vires/devrim/Files/Gideon/kde3src_from_cvs/kdevelop/parts/qeditor/cindent.
>cpp:131: undefined reference to `QTextParagraph::insert(int, QString const
> &)' .libs/cindent.o: In function `CIndent::indent(QTextDocument *,
> QTextParagraph *, int *, int *)':

hm, did you do a "make clean && make"? Most probably you include Qt 3.0.5 
headers but link to an older library. Make sure that you don't have Qt < 
3.0.5 libraries lying around in the library paths.

Best regards,
Harry





More information about the KDevelop-devel mailing list