neochat, revbump, Use software rendering for QT_QUICK_BACKEND (#13969)

This commit is contained in:
Schrijvers Luc
2026-04-15 09:34:02 +02:00
committed by GitHub
parent 3b69b84893
commit 899a21e709
2 changed files with 25 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ most notably Kirigami, KConfig and KI18n."
HOMEPAGE="https://apps.kde.org/en/neochat"
COPYRIGHT="2025 KDE Organisation"
LICENSE="GNU GPL v3"
REVISION="2"
REVISION="3"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/neochat-$portVersion.tar.xz"
CHECKSUM_SHA256="5fad96472a0b577a9f2bd7cc55ed7f6f481c448bf776e3d596ca0957afcc8c35"
ADDITIONAL_FILES="neochat.rdef.in"

View File

@@ -0,0 +1,24 @@
From fccb8b59f18ad2a660b5087721e0782e98be523b Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Wed, 15 Apr 2026 09:29:42 +0200
Subject: Use software rendering for QT_QUICK_BACKEND
diff --git a/src/app/main.cpp b/src/app/main.cpp
index d79cc0f..36fcd33 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -107,6 +107,10 @@ int main(int argc, char *argv[])
KIconTheme::initTheme();
QNetworkProxyFactory::setUseSystemConfiguration(true);
+#if defined(Q_OS_HAIKU)
+ qputenv("QT_QUICK_BACKEND", "software");
+#endif
+
#ifdef HAVE_WEBVIEW
QtWebView::initialize();
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
--
2.52.0