From 019cb11abfb9aa7099ffa553f79081fd4ba45304 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Mon, 24 Jun 2024 20:04:43 +0200 Subject: [PATCH] No wayland on Haiku, fixes build errors --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index bdfb84e7..0dad400b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -250,7 +250,8 @@ main(int argc, char *argv[]) #if __has_include() && \ ((QT_VERSION >= QT_VERSION_CHECK(6, 7, 0) && QT_CONFIG(wayland)) || \ - (QT_VERSION < QT_VERSION_CHECK(6, 7, 0) && defined(Q_OS_UNIX) && !defined(Q_OS_MACOS))) + (QT_VERSION < QT_VERSION_CHECK(6, 7, 0) && defined(Q_OS_UNIX) && !defined(Q_OS_MACOS) \ + && !defined(Q_OS_HAIKU))) // getting a valid activation token on wayland is a bit of a pain, it works most reliably // when you have an actual window, that has the focus... auto waylandApp = app.nativeInterface();