<div dir="ltr"><div>Dear team,</div><div><br></div><div>I'm trying to install kate from source.</div><div>So far these are the commands I'm using:</div><div><br></div><div>#! /bin/bash<br>cmake \<br>-D CMAKE_BUILD_TYPE=RelWithDebInfo \<br>-D CMAKE_INSTALL_PREFIX=~/kde/usr \<br>-D KDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON \<br>-D TARGET_include_directories:PATH="/usr/include/x86_64-linux-gnu/qt5/" \<br>-D Qt5_INCLUDE_DIRS:PATH="/usr/include/x86_64-linux-gnu/qt5/" \<br>-D Qt5_LIBRARY_DIRS:PATH="/usr/lib/x86_64-linux-gnu/qt5/" \<br>../kate/<br>make<br>make install</div><div><br></div><div>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.</div><div><br></div><div>Please any help would be appreciated and if you can <b>put me in cc</b> since I'm not in the mailing list.<br></div><div><br></div><div>[ 69%] Automatic moc for target katecloseexceptplugin<br>[ 69%] Built target katecloseexceptplugin_automoc<br>[ 71%] Built target katecloseexceptplugin<br>[ 71%] Automatic moc for target katesqlplugin<br>[ 71%] Built target katesqlplugin_automoc<br>[ 71%] Building CXX object addons/katesql/CMakeFiles/katesqlplugin.dir/katesqlview.cpp.o<br>/home/pablo/kde/kate/addons/katesql/katesqlview.cpp: In member function ‘void KateSQLView::setupActions()’:<br>/home/pablo/kde/kate/addons/katesql/katesqlview.cpp:141:3: error: ‘QWidgetAction’ was not declared in this scope<br>   QWidgetAction *wa = new QWidgetAction(this);<br>   ^<br>/home/pablo/kde/kate/addons/katesql/katesqlview.cpp:141:18: error: ‘wa’ was not declared in this scope<br>   QWidgetAction *wa = new QWidgetAction(this);<br>                  ^<br>/home/pablo/kde/kate/addons/katesql/katesqlview.cpp:141:27: error: expected type-specifier before ‘QWidgetAction’<br>   QWidgetAction *wa = new QWidgetAction(this);<br>                           ^<br>addons/katesql/CMakeFiles/katesqlplugin.dir/build.make:96: recipe for target 'addons/katesql/CMakeFiles/katesqlplugin.dir/katesqlview.cpp.o' failed<br>make[2]: *** [addons/katesql/CMakeFiles/katesqlplugin.dir/katesqlview.cpp.o] Error 1<br>CMakeFiles/Makefile2:2439: recipe for target 'addons/katesql/CMakeFiles/katesqlplugin.dir/all' failed<br>make[1]: *** [addons/katesql/CMakeFiles/katesqlplugin.dir/all] Error 2<br>Makefile:138: recipe for target 'all' failed<br>make: *** [all] Error 2</div><div><br></div><div><br></div></div>