[neon/neon-packaging/maui-fiery/Neon/release] debian/debian: fix build with qt6.10
Carlos De Maine
null at kde.org
Fri Feb 13 08:31:26 GMT 2026
Git commit 31450941358664a52daecc115289f3c70e452a00 by Carlos De Maine.
Committed on 13/02/2026 at 08:31.
Pushed by carlosdem into branch 'Neon/release'.
fix build with qt6.10
A +16 -0 debian/debian/fix_build.diff
A +1 -0 debian/debian/series
https://invent.kde.org/neon/neon-packaging/maui-fiery/-/commit/31450941358664a52daecc115289f3c70e452a00
diff --git a/debian/debian/fix_build.diff b/debian/debian/fix_build.diff
new file mode 100644
index 0000000..ab3f2c8
--- /dev/null
+++ b/debian/debian/fix_build.diff
@@ -0,0 +1,16 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 3878e8b10f985039918b6a3c87bd0585fac6217e..ce8e27f23b6276d5a0ace4f84a1e538d929b1884 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -4,6 +4,11 @@
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ remove_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_URL_CAST_FROM_STRING)
+
++if (Qt6Core_VERSION VERSION_GREATER_EQUAL "6.10.0")
++ find_package(Qt6CorePrivate ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
++endif()
++
++
+ set(fiery_SRCS
+ main.cpp
+ models/historymodel.cpp
\ No newline at end of file
diff --git a/debian/debian/series b/debian/debian/series
new file mode 100644
index 0000000..f6a0301
--- /dev/null
+++ b/debian/debian/series
@@ -0,0 +1 @@
+fix_buid.diff
\ No newline at end of file
More information about the Neon-commits
mailing list