https://bugs.kde.org/show_bug.cgi?id=453975
Bug ID: 453975
Summary: Missing find_package(Qt5 COMPONENTS
WaylandClientPrivate)
Product: plasmashell
Version: master
Platform: Compiled Sources
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Created attachment 148941
--> https://bugs.kde.org/attachment.cgi?id=148941&action=edit
Complete configure+generate log
SUMMARY
Plasma apparently requires WaylandClientPrivate, but its availability isn't
checked with a find_package call. This causes a failure when generating the
build system.
STEPS TO REPRODUCE
Use Kde Neon.
1. Make sure "qtwayland5-private-dev" is not installed
2. Configure plasma-workspace through kdesrc-build, using system Qt (I also
used Neon packages for other dependencies)
3. See it fail, read the log
OBSERVED RESULT
CMake fails to generate with (full log in attachment):
CMake Error at
/usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:182
(add_library):
Target "appmenu" links to target "Qt::WaylandClientPrivate" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
appmenu/CMakeLists.txt:16 (kcoreaddons_add_plugin)
EXPECTED RESULT
find_package() reports a missing component.
Note that qtwayland5-private-dev doesn't provide
WaylandClientPrivateConfig.cmake so we may need to write a find module.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kde Neon user
(available in About System)
KDE Plasma Version: master = c0cb9f9929cfca683313252ebe95a0ac2b62f6e8
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3 as in Neon
--
You are receiving this mail because:
You are watching all bug changes.