helloSystem / Menu

Global menu bar written in Qt
43 stars 14 forks source link

On Ubuntu #148

Closed ulliperk closed 1 year ago

ulliperk commented 1 year ago

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#

probonopd commented 1 year ago

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.

probonopd commented 1 year ago

@ulliperk please retry. Will reopen if it doesn't work still. Thanks @jsm222 for the fix.