Tatsh / kate-wakatime

Kate plugin to interface with WakaTime

Home Page:https://tatsh.github.io/kate-wakatime/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

installation error

englianhu opened this issue · comments

There has error when run to below part :

:~/kate-wakatime/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr

and then try to install

:~$ ## https://superuser.com/a/912259/411834
:~$ git clone https://invent.kde.org/frameworks/extra-cmake-modules.git 
:~$ cd extra-cmake-modules
:~$ mkdir build && cd build    
:~$ cmake ..
:~$ make && sudo make install
:~$ 
:~$ ## https://wiki.qt.io/Install_Qt_5_on_Ubuntu
:~$ sudo apt-get install qt5-default

but then

+:~/kate-wakatime/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
Installing in /usr. Run /home/englianhu/kate-wakatime/build/prefix.sh to set the environment for ktexteditor_wakatime.
-- Could NOT find KF5TextEditor (missing: KF5TextEditor_DIR)
-CMake Error at CMakeLists.txt:32 (ki18n_wrap_ui):
-  Unknown CMake command "ki18n_wrap_ui".
commented

ki18n_wrap_ui comes from a package that would provide /usr/lib64/cmake/KF5I18n/KF5I18nMacros.cmake (or similar path). On Gentoo that's the kde-frameworks/ki18n framework.

The same. And I can't find this framework.

for anyone using dnf, this requires kf5-ktexteditor-devel, and whilst using apt it requires libkf5texteditor-dev.