labplot, bump to 2.12.1 (#12806)

This commit is contained in:
Schrijvers Luc
2025-08-21 16:25:28 +02:00
committed by GitHub
parent e23991246e
commit 72b1678089
4 changed files with 49 additions and 392 deletions

View File

@@ -0,0 +1,22 @@
From fa74e06606e86bd4e6f79a202d099b33fb095d0f 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.50.1