Patch to make kdevelop-svn compile
Aleix Pol
aleixpol at kde.org
Mon Nov 16 22:21:42 UTC 2009
On Sun, Nov 15, 2009 at 11:22 AM, Benjamin Schindler <bschindler at inf.ethz.ch
> wrote:
> Hi
>
> 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).
> This is a separate issue so you can savely ignore that part
>
> Cheers
> Benjamin
>
> Index: debuggers/gdb/CMakeLists.txt
> ===================================================================
> --- debuggers/gdb/CMakeLists.txt (revision 1049395)
> +++ debuggers/gdb/CMakeLists.txt (working copy)
> @@ -59,7 +59,7 @@
> ${KDE4_KDEUI_LIBS}
> ${KDEVPLATFORM_UTIL_LIBRARIES}
> ${KDE4_KTEXTEDITOR_LIBS}
> - ${KDE4WORKSPACE_PROCESSUI_LIBS}
> + processui
> )
>
> install(TARGETS kdevgdb DESTINATION ${PLUGIN_INSTALL_DIR})
> @@ -105,7 +105,7 @@
> ${KDE4_KIO_LIBS}
> ${KDE4_KTEXTEDITOR_LIBS}
> ${KDE4_KPARTS_LIBRARY}
> - ${KDE4WORKSPACE_PROCESSUI_LIBS}
> + processui
> )
>
>
> Index: projectmanagers/cmake/cmakedocumentation.cpp
> ===================================================================
> --- projectmanagers/cmake/cmakedocumentation.cpp (revision 1049395)
> +++ projectmanagers/cmake/cmakedocumentation.cpp (working copy)
> @@ -49,6 +49,7 @@
> virtual QString name() const { return mName; }
> virtual bool providesWidget() const { return false; }
> virtual KDevelop::IDocumentationProvider* provider() { return
> s_provider; }
> + virtual QWidget* documentationWidget(QWidget*) { return NULL; }
>
> static CMakeDocumentation* s_provider;
>
> Index: documentation/qthelp/qthelpdocumentation.h
> ===================================================================
> --- documentation/qthelp/qthelpdocumentation.h (revision 1049395)
> +++ documentation/qthelp/qthelpdocumentation.h (working copy)
> @@ -42,6 +42,8 @@
>
> virtual QString description() const;
>
> + virtual bool providesWidget() const { return true; }
> +
> virtual QWidget* documentationWidget(QWidget* parent);
>
> virtual KDevelop::IDocumentationProvider* provider();
> @@ -62,6 +64,7 @@
> {
> Q_OBJECT
> public:
> + virtual bool providesWidget() const { return true; }
> virtual QWidget* documentationWidget(QWidget* parent = 0);
> virtual QString description() const { return QString(); }
> virtual QString name() const;
>
>
--
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
>
That is not correct, providesWidget is not needed anymore.
Update kdevplatform?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20091116/1a8ebccf/attachment-0001.html>
More information about the KDevelop-devel
mailing list