kate5 won't build with latest ktexteditor

Christoph Cullmann cullmann at absint.com
Sun Jan 19 09:33:25 UTC 2014


Hi,

build.kde.org says it builds, perhaps your ktexteditor.git is too old ;)

Greetings
Christoph

----- Ursprüngliche Mail -----
> I have been unable to build kate5 for several days
> 
> 
> /var/git/kate5/addons/kate/project/kateprojectpluginview.cpp: In constructor
> 'KateProjectPluginView::KateProjectPluginView(KateProjectPlugin*,
> KTextEditor::MainWindow*)':
> /var/git/kate5/addons/kate/project/kateprojectpluginview.cpp:55:175: error:
> no
> matching function for call to
> 'KTextEditor::MainWindow::createToolView(KateProjectPlugin*&, QLatin1String,
> KTextEditor::MainWindow::ToolViewPosition, QPixmap, QString)'
>    m_toolView = m_mainWindow->createToolView (m_plugin,
> QLatin1String("kateproject"), KTextEditor::MainWindow::Left,
> SmallIcon(QLatin1String("project-open")), i18n("Projects"));
>                                                                                                                                                                                
> ^
> /var/git/kate5/addons/kate/project/kateprojectpluginview.cpp:55:175: note:
> candidate is:
> In file included from
> /var/git/kate5/addons/kate/project/kateprojectplugin.h:28:0,
>                  from
> /var/git/kate5/addons/kate/project/kateprojectpluginview.h:24,
>                  from
> /var/git/kate5/addons/kate/project/kateprojectpluginview.cpp:21:
> /opt/qt5/include/KF5/KTextEditor/ktexteditor/mainwindow.h:218:14: note:
> QWidget*
> KTextEditor::MainWindow::createToolView(KTextEditor::ApplicationPlugin*,
> const
> QString&, KTextEditor::MainWindow::ToolViewPosition, const QIcon&, const
> QString&)
>      QWidget *createToolView(KTextEditor::ApplicationPlugin *plugin, const
> QString &identifier, KTextEditor::MainWindow::ToolViewPosition pos, const
> QIcon
> &icon, const QString &text);
>               ^
> /opt/qt5/include/KF5/KTextEditor/ktexteditor/mainwindow.h:218:14: note:   no
> known conversion for argument 1 from 'KateProjectPlugin*' to
> 'KTextEditor::ApplicationPlugin*'
> /var/git/kate5/addons/kate/project/kateprojectpluginview.cpp:56:191: error:
> no
> matching function for call to
> 'KTextEditor::MainWindow::createToolView(KateProjectPlugin*&, QLatin1String,
> KTextEditor::MainWindow::ToolViewPosition, QPixmap, QString)'
>    m_toolInfoView = m_mainWindow->createToolView (m_plugin,
> QLatin1String("kateprojectinfo"), KTextEditor::MainWindow::Bottom,
> SmallIcon(QLatin1String("view-choose")), i18n("Current Project"));
>                                                                                                                                                                                                
> ^
> 
> 
> 
> and
> 
> 
> 
> 
> /var/git/kate5/kate/filetree/katefiletree.cpp: In member function 'void
> KateFileTree::slotPrintDocument()':
> /var/git/kate5/kate/filetree/katefiletree.cpp:569:8: error: 'class
> KTextEditor::Document' has no member named 'print'
>    doc->print();
>         ^
> 
> 
> I am using gcc-4.8.2
> 
> Am I missing an update to ktexteditor?
> _______________________________________________
> 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