Help when compiling Kate from source

Pablo Castillo pai.gorik at gmail.com
Wed May 30 09:15:31 UTC 2018


Dear team,

I'm trying to install kate from source.
So far these are the commands I'm using:

#! /bin/bash
cmake \
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
-D CMAKE_INSTALL_PREFIX=~/kde/usr \
-D KDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON \
-D TARGET_include_directories:PATH="/usr/include/x86_64-linux-gnu/qt5/" \
-D Qt5_INCLUDE_DIRS:PATH="/usr/include/x86_64-linux-gnu/qt5/" \
-D Qt5_LIBRARY_DIRS:PATH="/usr/lib/x86_64-linux-gnu/qt5/" \
../kate/
make
make install

However, I get the following error during compiling: I think it has to be
related with not including some path file that should be there, however I'm
not sure why, since I installed all required packages as per the website.

Please any help would be appreciated and if you can *put me in cc* since
I'm not in the mailing list.

[ 69%] Automatic moc for target katecloseexceptplugin
[ 69%] Built target katecloseexceptplugin_automoc
[ 71%] Built target katecloseexceptplugin
[ 71%] Automatic moc for target katesqlplugin
[ 71%] Built target katesqlplugin_automoc
[ 71%] Building CXX object
addons/katesql/CMakeFiles/katesqlplugin.dir/katesqlview.cpp.o
/home/pablo/kde/kate/addons/katesql/katesqlview.cpp: In member function
‘void KateSQLView::setupActions()’:
/home/pablo/kde/kate/addons/katesql/katesqlview.cpp:141:3: error:
‘QWidgetAction’ was not declared in this scope
   QWidgetAction *wa = new QWidgetAction(this);
   ^
/home/pablo/kde/kate/addons/katesql/katesqlview.cpp:141:18: error: ‘wa’ was
not declared in this scope
   QWidgetAction *wa = new QWidgetAction(this);
                  ^
/home/pablo/kde/kate/addons/katesql/katesqlview.cpp:141:27: error: expected
type-specifier before ‘QWidgetAction’
   QWidgetAction *wa = new QWidgetAction(this);
                           ^
addons/katesql/CMakeFiles/katesqlplugin.dir/build.make:96: recipe for
target 'addons/katesql/CMakeFiles/katesqlplugin.dir/katesqlview.cpp.o'
failed
make[2]: ***
[addons/katesql/CMakeFiles/katesqlplugin.dir/katesqlview.cpp.o] Error 1
CMakeFiles/Makefile2:2439: recipe for target
'addons/katesql/CMakeFiles/katesqlplugin.dir/all' failed
make[1]: *** [addons/katesql/CMakeFiles/katesqlplugin.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180530/420b03b7/attachment-0001.html>


More information about the KWrite-Devel mailing list