Bug 424622

Summary: kdelibs4support vs Qt6
Product: [Developer tools] kdesrc-build Reporter: Henry Pfeil <hpfeil>
Component: project metadataAssignee: Michael Pyne <mpyne>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Henry Pfeil 2020-07-24 23:31:12 UTC
KDELibs4Support 

kdelibs4support/src/solid-networkstatus/kded/CMakeLists.txt relies upon cmake/Qt5DBus/Qt5DBusMacros.cmake to define qt5_add_dbus_adaptor. That file does not exist in Qt6. The remaining two files in cmake/Qt5DBUS do not define qt5_add_dbus_adaptor, so CMake throws an error: "Unknown CMake command "qt5_add_dbus_adaptor".

Just a heads-up, kdelibs4support build will break when Qt releases the next major version in Dec 2020. Maybe you could simply copy the Macro definition from Qt5DBusMacros.cmake into CMakelists.txt?
Comment 1 Nicolas Fella 2020-07-25 12:30:15 UTC
kdelibs4support will not be ported to Qt6 so this should be a non-issue