Help when compiling Kate from source

Albert Astals Cid aacid at kde.org
Wed Jun 13 21:27:08 UTC 2018


El dimecres, 30 de maig de 2018, a les 11:15:31 CEST, Pablo Castillo va 
escriure:
> 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);

that file seems to need a #include <QWidgetAction> in that file for you. Can 
you confirm that adding it fixes it for you? Which Qt5 and KF5 versions are 
you using?

Cheers,
  Albert




More information about the KWrite-Devel mailing list