kate (frameworks) build failure

Christoph Cullmann cullmann at absint.com
Wed Jan 22 18:12:17 UTC 2014


Hi,

in ktexteditor/document.h is:


// our main baseclass of the KTextEditor::Document
#include <KParts/ReadWritePart>

perhaps you need to cleanup your local include dirs ;)

Greetings
Christoph

----- Ursprüngliche Mail -----
> Hello,
> 
> looks like building kate (frameworks branch) fails:
> 
> In file included from /home/stefano/pkgbuild/kf5/kate-
> git/src/kate/kwrite/kwrite.h:25:0,
>                  from /home/stefano/pkgbuild/kf5/kate-
> git/src/kate/kwrite/main.cpp:21:
> /opt/kf5/include/KF5/KTextEditor/ktexteditor/document.h:122:1: error:
> expected
> class-name before ‘{’ token
>  {
>  ^
> 
> The problem seems to be that KTextEditor::Document derives from
> KParts::ReadWritePart, but readwritepart.h (where KParts::ReadWritePart is
> defined) is not pulled in by any header file. I think readwritepart.h should
> be included somewhere.
> 
> Sorry if this is my fault.
> 
> Thanks,
> Stefano
> 
> _______________________________________________
> Kde-frameworks-devel mailing list
> Kde-frameworks-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
> 

-- 
----------------------------- Dr.-Ing. Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH      Email: cullmann at AbsInt.com
Science Park 1                         Tel:   +49-681-38360-22
66123 Saarbrücken                      Fax:   +49-681-38360-20
GERMANY                                WWW:   http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234


More information about the Kde-frameworks-devel mailing list