On Ubuntu
Closed this issue · 2 comments
trying to install hello in kubuntu 22.04 following this instruction
https://www.youtube.com/watch?v=vzX7yHB1i1U
in my case leads to an error
root@X1470:/home/blah/Menu/build# make -j $(nproc) install
[ 1%] Automatic MOC for target datetime
[ 1%] Built target resources
[ 2%] Automatic MOC for target statusnotifier
[ 2%] Built target datetime_autogen
[ 4%] Automatic MOC for target volume
[ 4%] Built target statusnotifier_autogen
[ 5%] Automatic MOC for target windows
[ 5%] Built target volume_autogen
[ 7%] Automatic MOC and UIC for target Shutdown
[ 7%] Built target windows_autogen
[ 7%] Built target Shutdown_autogen
[ 7%] Automatic MOC for target Menu
Consolidate compiler generated dependencies of target datetime
[ 7%] Built target Menu_autogen
[ 10%] Built target datetime
Consolidate compiler generated dependencies of target volume
Consolidate compiler generated dependencies of target statusnotifier
[ 13%] Built target volume
Consolidate compiler generated dependencies of target windows
[ 22%] Built target statusnotifier
Consolidate compiler generated dependencies of target Shutdown
[ 26%] Built target windows
[ 32%] Built target Shutdown
Consolidate compiler generated dependencies of target Menu
[ 82%] Built target translations
[ 82%] Building CXX object src/CMakeFiles/Menu.dir/appmenuwidget.cpp.o
[ 82%] Building CXX object src/CMakeFiles/Menu.dir/appmenu/menuimporteradaptor.cpp.o
/home/ulli/Menu/src/appmenuwidget.cpp:58:10: fatal error: KF5/KWindowSystem/KX11Extras: No such file or directory
58 | #include <KF5/KWindowSystem/KX11Extras>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/Menu.dir/build.make:208: src/CMakeFiles/Menu.dir/appmenuwidget.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:414: src/CMakeFiles/Menu.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
root@X1470:/home/blah/Menu/build#
Please try sudo apt install qtx11extras5
.
Keep in mind though that even it may compile, it is really developed for and tested on FreeBSD, so some functionality may be missing/broken on Linux.