<div class="gmail_quote">On Sun, Nov 15, 2009 at 11:22 AM, Benjamin Schindler <span dir="ltr"><<a href="mailto:bschindler@inf.ethz.ch">bschindler@inf.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Hi<br>
<br>
Current kdevelop-svn does not compile. The attached patch fixes this. The first patch (the CMakeLists patch) is required to make kdevelop compile on gentoo (it's a sed script executed in the ebuild).<br>
This is a separate issue so you can savely ignore that part<br>
<br></div>
Cheers<br><font color="#888888">
Benjamin<br>
</font><br>Index: debuggers/gdb/CMakeLists.txt<br>
===================================================================<br>
--- debuggers/gdb/CMakeLists.txt (revision 1049395)<br>
+++ debuggers/gdb/CMakeLists.txt (working copy)<br>
@@ -59,7 +59,7 @@<br>
${KDE4_KDEUI_LIBS}<br>
${KDEVPLATFORM_UTIL_LIBRARIES}<br>
${KDE4_KTEXTEDITOR_LIBS}<br>
- ${KDE4WORKSPACE_PROCESSUI_LIBS}<br>
+ processui<br>
)<br>
<br>
install(TARGETS kdevgdb DESTINATION ${PLUGIN_INSTALL_DIR})<br>
@@ -105,7 +105,7 @@<br>
${KDE4_KIO_LIBS}<br>
${KDE4_KTEXTEDITOR_LIBS}<br>
${KDE4_KPARTS_LIBRARY}<br>
- ${KDE4WORKSPACE_PROCESSUI_LIBS}<br>
+ processui<br>
)<br>
<br>
<br>
Index: projectmanagers/cmake/cmakedocumentation.cpp<br>
===================================================================<br>
--- projectmanagers/cmake/cmakedocumentation.cpp (revision 1049395)<br>
+++ projectmanagers/cmake/cmakedocumentation.cpp (working copy)<br>
@@ -49,6 +49,7 @@<br>
virtual QString name() const { return mName; }<br>
virtual bool providesWidget() const { return false; }<br>
virtual KDevelop::IDocumentationProvider* provider() { return s_provider; }<br>
+ virtual QWidget* documentationWidget(QWidget*) { return NULL; }<br>
<br>
static CMakeDocumentation* s_provider;<br>
<br>
Index: documentation/qthelp/qthelpdocumentation.h<br>
===================================================================<br>
--- documentation/qthelp/qthelpdocumentation.h (revision 1049395)<br>
+++ documentation/qthelp/qthelpdocumentation.h (working copy)<br>
@@ -42,6 +42,8 @@<br>
<br>
virtual QString description() const;<br>
<br>
+ virtual bool providesWidget() const { return true; }<br>
+<br>
virtual QWidget* documentationWidget(QWidget* parent);<br>
<br>
virtual KDevelop::IDocumentationProvider* provider();<br>
@@ -62,6 +64,7 @@<br>
{<br>
Q_OBJECT<br>
public:<br>
+ virtual bool providesWidget() const { return true; }<br>
virtual QWidget* documentationWidget(QWidget* parent = 0);<br>
virtual QString description() const { return QString(); }<br>
virtual QString name() const;<br>
<br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
<br></blockquote></div><br>That is not correct, providesWidget is not needed anymore.<br>Update kdevplatform?<br>