[kleopatra] [Bug 497136] Kleopatra doesn't build on macOS due to not having Wayland

Ingo Klöcker bugzilla_noreply at kde.org
Mon Dec 9 20:09:32 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=497136

Ingo Klöcker <kloecker at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/pim/ |https://invent.kde.org/pim/
                   |kleopatra/-/commit/31a0953f |kleopatra/-/commit/15fd4482
                   |f5385d077e10296d56a530afd45 |574fd364610a81f3541acb651f5
                   |3e9e3                       |aa125

--- Comment #2 from Ingo Klöcker <kloecker at kde.org> ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list