-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't compile on kUbuntu 20.04 (since commit #3f724dcf436233d24abe9f2dfc450ba5d0ac00dd) #57
Comments
Those 4 commits were sorta batched together. Try compiling
Not much changes other than formatting except: diff --git a/src/libdbusmenuqt/CMakeLists.txt b/src/libdbusmenuqt/CMakeLists.txt
index 6ddc949..c8fd747 100644
--- a/src/libdbusmenuqt/CMakeLists.txt
+++ b/src/libdbusmenuqt/CMakeLists.txt
@@ -20,8 +20,8 @@ qt5_add_dbus_interface(libdbusmenu_SRCS com.canonical.dbusmenu.xml dbusmenu_inte
add_library(dbusmenuqt STATIC ${libdbusmenu_SRCS})
target_link_libraries(dbusmenuqt
- Qt5::DBus
- Qt5::Widgets
+ Qt::DBus
+ Qt::Widgets
) Does editing |
@Zren
|
Got missed when the changing the Qt5=>Qt elsewhere in the cmake file. https://invent.kde.org/plasma/plasma-workspace/-/commit/178a4f8756b4e56a3acc865230571387023b0f41
Tested again. CMake still fails (for a different reason)
According to this page "qt_add_dbus_interface" was added in QT 5.15 P.S. I tried to revert commit "Use versionless qt macro in libdbusmenuqt (Issue #57) ". Then generation continued but eventually got stuck again
|
@Alt37: The new macro was added in Qt 5.15, and Kubuntu only has 5.12. #57 (comment)
Missed the I also forgot how old Kubuntu's Qt version is. I've added a if/else switch to use the versionless macro when it detects Qt6. crosses fingers should work now? |
I can confirm that now it compiles. |
Tried on a clean Kubuntu 20.04 install
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
finishes with errors.
Just to make sure I started to browse though commit history and downloaded previous zip packages. The last package which builds properly on Ubuntu 20.04 is with commit #176c748524ac50865db988b9a6a7243f8da4e64f) (("Fix repainting the titlebar now that we have borders (Issue #41)".
cmake_without_errors.txt
With the next commit #3f724dcf436233d24abe9f2dfc450ba5d0ac00dd) (("Refactor X11 window code") I've got cmake errors.
cmake_with_errors.txt
With current KDE Neon User Edition latest "master" branch builds properly (it's not compatible with KWin 5.18.5 though).
The text was updated successfully, but these errors were encountered: