[neon/neon-packaging/kgeotag/Neon/unstable] debian/patches: backport kai's qt6-webengine patch

Carlos De Maine null at kde.org
Mon Dec 2 23:03:53 GMT 2024


Git commit 710821df04acf32aaad164c39ed99c9a50740c43 by Carlos De Maine.
Committed on 02/12/2024 at 23:03.
Pushed by carlosdem into branch 'Neon/unstable'.

backport kai's qt6-webengine patch

A  +12   -0    debian/patches/qtwebengine_shared_context.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/neon-packaging/kgeotag/-/commit/710821df04acf32aaad164c39ed99c9a50740c43

diff --git a/debian/patches/qtwebengine_shared_context.diff b/debian/patches/qtwebengine_shared_context.diff
new file mode 100644
index 0000000..ca5bf08
--- /dev/null
+++ b/debian/patches/qtwebengine_shared_context.diff
@@ -0,0 +1,12 @@
+diff --git a/src/main.cpp b/src/main.cpp
+index de178b297559bc8ff388d09bfcd81a32fc58a80b..809e81bb46452c3e107372ea356a07b4769977cf 100644
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -19,6 +19,7 @@
+ 
+ int main(int argc, char *argv[])
+ {
++    QApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
+     QApplication application(argc, argv);
+ #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
+     QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d8abb73
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+qtwebengine_shared_context.diff


More information about the Neon-commits mailing list