Bug 430806 - kguiaddons hard-depends on Qt5Wayland
Summary: kguiaddons hard-depends on Qt5Wayland
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kguiaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.77.0
Platform: Homebrew (macOS) macOS
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL: https://invent.kde.org/packaging/home...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-25 11:18 UTC by Yurii Kolesnykov
Modified: 2021-01-16 01:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.78
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yurii Kolesnykov 2020-12-25 11:18:27 UTC
SUMMARY

-- Could NOT find Qt5WaylandClient (missing: Qt5WaylandClient_DIR)
CMake Error at /usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
  Could NOT find QtWaylandScanner (missing: QtWaylandScanner_EXECUTABLE)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/ECM/find-modules/FindQtWaylandScanner.cmake:78 (find_package_handle_standard_args)
  CMakeLists.txt:43 (find_package)

STEPS TO REPRODUCE
1. Try to configure kguiaddons with cmake on macOS

OBSERVED RESULT
It requires Qt5Wayland

EXPECTED RESULT
Qt5Wayland should be optional, since it isn't available on all platforms.

SOFTWARE/OS VERSIONS
macOS: 11.1 (20C69)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Issue in kde-mac/kde tap: https://invent.kde.org/packaging/homebrew-kde/-/issues/17
Comment 1 Yurii Kolesnykov 2020-12-25 11:20:29 UTC
Output of brew gist-logs kf5-kguiaddons: https://git.io/JL1wN
Comment 2 Yurii Kolesnykov 2020-12-25 11:31:11 UTC
Ok, I solved issue by `-DWITH_WAYLAND=OFF`, but I suggest disabling it by default.
Comment 3 Dawid Wróbel 2020-12-27 00:14:26 UTC
This also is causing almost every single package in binary-factor fail to build:
https://binary-factory.kde.org/view/MacOS/