[neon/extras/kmymoney/Neon/release] debian/patches: sql_private.diff
Carlos De Maine
null at kde.org
Mon Jan 19 08:38:08 GMT 2026
Git commit 6d479641dafa862e028087d13dc90781957622d4 by Carlos De Maine.
Committed on 19/01/2026 at 08:38.
Pushed by carlosdem into branch 'Neon/release'.
sql_private.diff
M +2 -0 debian/patches/series
A +30 -0 debian/patches/sql_private.diff
https://invent.kde.org/neon/extras/kmymoney/-/commit/6d479641dafa862e028087d13dc90781957622d4
diff --git a/debian/patches/series b/debian/patches/series
index ebc43a3..e44aa5f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,4 @@
neon_libofx_MOD_VERSION.diff
kpim6.diff
+sql_private.diff
+
diff --git a/debian/patches/sql_private.diff b/debian/patches/sql_private.diff
new file mode 100644
index 0000000..56eb251
--- /dev/null
+++ b/debian/patches/sql_private.diff
@@ -0,0 +1,30 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 32e2840..f21e7ed 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -183,7 +183,7 @@ if (PkgConfig_FOUND)
+ endif()
+
+ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED COMPONENTS Core DBus Widgets Svg Xml Test PrintSupport)
+-find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Sql Concurrent QuickWidgets)
++find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Sql SqlPrivate Concurrent QuickWidgets)
+
+ find_package(KF${QT_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS Archive CoreAddons Config ConfigWidgets Crash I18n Completion KCMUtils ItemModels ItemViews Service XmlGui TextWidgets Notifications KIO)
+
+diff --git a/kmymoney/plugins/sqlcipher/CMakeLists.txt b/kmymoney/plugins/sqlcipher/CMakeLists.txt
+index ee6f2e7..aa3fc19 100644
+--- a/kmymoney/plugins/sqlcipher/CMakeLists.txt
++++ b/kmymoney/plugins/sqlcipher/CMakeLists.txt
+@@ -32,10 +32,8 @@ target_link_libraries(qsqlcipher
+ PRIVATE
+ PkgConfig::SQLCIPHER
+ )
+-if (TARGET Qt::SqlPrivate)
+- target_link_libraries(qsqlcipher PRIVATE Qt::SqlPrivate)
+-endif()
+-target_link_libraries(qsqlcipher PRIVATE Qt::Sql)
++
++target_link_libraries(qsqlcipher PRIVATE Qt::Sql Qt::SqlPrivate)
+
+ if(BUILD_TESTING)
+ add_subdirectory(tests)
\ No newline at end of file
More information about the Neon-commits
mailing list