kate5 won't build with latest ktexteditor

Treeve Jelbert treeve at scarlet.be
Sun Jan 19 09:21:04 UTC 2014


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?


More information about the Kde-frameworks-devel mailing list