Summary: | Kleopatra doesn't build on macOS due to not having Wayland | ||
---|---|---|---|
Product: | [Applications] kleopatra | Reporter: | Valentin Kulesh <leshy> |
Component: | general | Assignee: | Ingo Klöcker <kloecker> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aheinecke, kdepim-bugs, mutz |
Priority: | NOR | ||
Version: | 4.0.0.241190 | ||
Target Milestone: | --- | ||
Platform: | Homebrew (macOS) | ||
OS: | macOS | ||
Latest Commit: | https://invent.kde.org/pim/kleopatra/-/commit/15fd4482574fd364610a81f3541acb651f5aa125 | Version Fixed In: | |
Sentry Crash Report: |
Description
Valentin Kulesh
2024-12-06 17:58:07 UTC
Fixed with MR https://invent.kde.org/pim/kleopatra/-/merge_requests/335 with commit https://invent.kde.org/pim/kleopatra/-/commit/31a0953ff5385d077e10296d56a530afd453e9e3 Git commit 15fd4482574fd364610a81f3541acb651f5aa125 by Ingo Klöcker, on behalf of Valentin Kulesh. Committed on 09/12/2024 at 20:03. Pushed by kloecker into branch 'release/24.12'. Fix build on macOS due to not having Wayland (variant 2) Wayland-specific stuff is guarded by `#ifdef Q_OS_UNIX`, which also matches macOS. Replaced with `#ifdef HAVE_WAYLAND` guard. The guard is based on `__has_include` feature of C++17. (cherry picked from commit 31a0953ff5385d077e10296d56a530afd453e9e3) M +5 -4 src/mainwindow.cpp https://invent.kde.org/pim/kleopatra/-/commit/15fd4482574fd364610a81f3541acb651f5aa125 |