How to build kdevelop- trunk / errors and more

Sascha Cunz sascha.cunz at tiscali.de
Sun Sep 11 02:17:08 UTC 2005


Hi,
i'm trying to build trunk of kdevelop and got faced with the following 
problems:

- parts/outputviews/makewidget.cpp: (Lines 846 and 864)

There are 2 calls to document()->removeSelection() which cause gcc to bail 
with:

/work/kde4/src/kdevelop/parts/outputviews/makewidget.cpp:846: error: `
   removeSelection' undeclared (first use this function)

obviously this is due to the fact, that

#include <private/q3richtext_p.h>

is not found.

Further, i do acutally not understand, why removeSelection has to be called 
there, because it will be set in the line after the error anyway.

- parts/quickopen/quickopen_part.cpp (line 124)

There's obviously a temporary error. I'm compiling against kdelibs4_snapshot. 
Before branching kdelibs to 4_snapshot, KTextEditor::View::selection was 
renamed to KTextEditor::View::hasSelection by Hamish Rodda [1]. After the 
branch, it was renamed back by Christoph Cullmann [2].

I propose to sync the branch. Will mail this issue to Core-Devel.

- parts/guibuilder

The linker bails out with these errors. Maybe Roberto or Harald can have a 
look at this.

../../parts/guibuilder/.libs/guibuilder_part.o(.text+0x13c): In function 
`GuiBuilderPart::GuiBuilderPart[not-in-charge](QObject*, char const*, 
QStringList const&)':
: undefined reference to `QDesignerComponents::initializeResources()'
../../parts/guibuilder/.libs/guibuilder_part.o(.text+0x144): In function 
`GuiBuilderPart::GuiBuilderPart[not-in-charge](QObject*, char const*, 
QStringList const&)':
: undefined reference to `QDesignerComponents::createFormEditor(QObject*)'
../../parts/guibuilder/.libs/guibuilder_part.o(.text+0x177): In function 
`GuiBuilderPart::GuiBuilderPart[not-in-charge](QObject*, char const*, 
QStringList const&)':
: undefined reference to 
`QDesignerComponents::createWidgetBox(QDesignerFormEditorInterface*, 
QWidget*)'
../../parts/guibuilder/.libs/guibuilder_part.o(.text+0x244): In function 
`GuiBuilderPart::GuiBuilderPart[not-in-charge](QObject*, char const*, 
QStringList const&)':
: undefined reference to 
`QDesignerComponents::createPropertyEditor(QDesignerFormEditorInterface*, 
QWidget*)'
../../parts/guibuilder/.libs/guibuilder_part.o(.text+0x4cc): In function 
`GuiBuilderPart::GuiBuilderPart[in-charge](QObject*, char const*, QStringList 
const&)':
: undefined reference to `QDesignerComponents::initializeResources()'
../../parts/guibuilder/.libs/guibuilder_part.o(.text+0x4d6): In function 
`GuiBuilderPart::GuiBuilderPart[in-charge](QObject*, char const*, QStringList 
const&)':
: undefined reference to `QDesignerComponents::createFormEditor(QObject*)'
../../parts/guibuilder/.libs/guibuilder_part.o(.text+0x507): In function 
`GuiBuilderPart::GuiBuilderPart[in-charge](QObject*, char const*, QStringList 
const&)':
: undefined reference to 
`QDesignerComponents::createWidgetBox(QDesignerFormEditorInterface*, 
QWidget*)'
../../parts/guibuilder/.libs/guibuilder_part.o(.text+0x5d4): In function 
`GuiBuilderPart::GuiBuilderPart[in-charge](QObject*, char const*, QStringList 
const&)':
: undefined reference to 
`QDesignerComponents::createPropertyEditor(QDesignerFormEditorInterface*, 
QWidget*)'
collect2: ld returned 1 exit status
Error creating ../../parts/guibuilder/libkdevguibuilder.la. Exit status 1.


[¹] 
http://websvn.kde.org/trunk/KDE/kdelibs/interfaces/ktexteditor/view.h?rev=455072&view=rev
[2]
http://websvn.kde.org/trunk/KDE/kdelibs/interfaces/ktexteditor/view.h?rev=455382&view=rev




More information about the KDevelop-devel mailing list