kdevelop4 builds and runs now (was Re: How to build kdevelop- trunk / errors and more)

Adam Treat treat at kde.org
Sun Sep 11 04:43:03 UTC 2005


I just commented out and made trivial fixes so that it will compile.  Now, it 
not only compiles but loads and works for some very minimal definition of 
'works' ;)

Roberto, Harald, you'll want to look at quickopen and guibuilder.

Adam

On Saturday 10 September 2005 8:15 pm, Sascha Cunz wrote:
> 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=4
>55072&view=rev [2]
> http://websvn.kde.org/trunk/KDE/kdelibs/interfaces/ktexteditor/view.h?rev=4
>55382&view=rev
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at barney.cs.uni-potsdam.de
> http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel

-- 
I'm running a Marathon in December!
HELP ME SAVE LIVES and Donate Today!
http://helpmesavelives.blogspot.com/




More information about the KDevelop-devel mailing list