Files
haikuports/sci-visualization/labplot/patches/labplot-2.12.0.patchset
2025-04-27 14:31:23 +00:00

23 lines
734 B
Plaintext

From 4589008cc71aa2d086d0ec9b2c44bc19816f4be7 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Sat, 26 Apr 2025 19:12:21 +0200
Subject: Don't default to xcb qt plugin on Haiku
diff --git a/src/frontend/LabPlot.cpp b/src/frontend/LabPlot.cpp
index 23bab67..50cf6dd 100644
--- a/src/frontend/LabPlot.cpp
+++ b/src/frontend/LabPlot.cpp
@@ -42,7 +42,7 @@
#endif
int main(int argc, char* argv[]) {
-#if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN)
+#if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN) && !defined(Q_OS_HAIKU)
// the qads library has issues on wayland so we force qt to use x11 instead
// see https://invent.kde.org/education/labplot/-/issues/1067
QByteArray xcbQtQpaEnvVar("xcb");
--
2.48.1