[neon/forks/kaidan/Neon/release] debian/patches: backport qt6.10 support
Carlos De Maine
null at kde.org
Wed Dec 3 03:32:42 GMT 2025
Git commit 53295bfd926d94640c69701fb0e66e8bae7b05dc by Carlos De Maine.
Committed on 03/12/2025 at 03:32.
Pushed by carlosdem into branch 'Neon/release'.
backport qt6.10 support
A +16 -0 debian/patches/26942b401070e6628e4c85768632ca33538bb99c.diff
A +1 -0 debian/patches/series
https://invent.kde.org/neon/forks/kaidan/-/commit/53295bfd926d94640c69701fb0e66e8bae7b05dc
diff --git a/debian/patches/26942b401070e6628e4c85768632ca33538bb99c.diff b/debian/patches/26942b401070e6628e4c85768632ca33538bb99c.diff
new file mode 100644
index 0000000..7b4f75b
--- /dev/null
+++ b/debian/patches/26942b401070e6628e4c85768632ca33538bb99c.diff
@@ -0,0 +1,16 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index abbd885df2ab74a7b496a73ddfa36c01732bef9a..f9ea0e47cd02925a0a3258863f09e0b942575e56 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -52,6 +52,11 @@ set(AUTOMOC_MOC_OPTIONS -Muri=${APPLICATION_ID})
+
+ # Find packages
+ find_package(Qt6 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Concurrent Qml Quick Svg Sql QuickControls2 Xml Multimedia Positioning Location)
++
++if(Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0" AND NOT WIN32 AND NOT APPLE)
++ find_package(Qt6GuiPrivate ${QT_MIN_VERSION} REQUIRED NO_MODULE)
++endif()
++
+ find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS KIO Kirigami Prison)
+ if (NOT ANDROID)
+ find_package(KF6 ${KF_MIN_VERSION} OPTIONAL_COMPONENTS Crash)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..916cbbc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+26942b401070e6628e4c85768632ca33538bb99c.diff
More information about the Neon-commits
mailing list