Bug 418233

Summary: Sqlcipher plugin could not be build
Product: [Applications] kmymoney Reporter: Ralf Habacker <ralf.habacker>
Component: buildsystemAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 4.8.5

Description Ralf Habacker 2020-02-26 20:01:03 UTC
The sqlcipher plugin could not be built because there is no public package for the Qt sql driver source needed to build this plugin.

STEPS TO REPRODUCE
1. checkout kmymoney sources
2. configure kmymoney with cmake -DENABLE_SQLCIPHER=1 <kmymoney-source>

OBSERVED RESULT
Configuring with cmake does not complete because of missing qt sqlite source

EXPECTED RESULT
The configuration with cmake aborts due to missing qt-sqlite source

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE_Leap_15.1
KDE Frameworks Version: 5.49.0
Qt Version: 5.9.7
Comment 1 Ralf Habacker 2020-02-26 20:03:15 UTC
Git commit a5b858fdce3f87a5386f1b4f128935dcbf183692 by Ralf Habacker.
Committed on 26/02/2020 at 20:02.
Pushed by habacker into branch '4.8'.

Fix 'Sqlcipher plugin could not be build'

Since there is no source package for the Qt4 sqlite driver, the
corresponding sources are embedded in kmymoney sources.
FIXED-IN:4.8.5

A  +100  -0    3rdparty/Qt/include/QtSql/private/qsqlcachedresult_p.h     [License: GPL (v3) LGPL (v3)]
A  +160  -0    3rdparty/Qt/include/QtSql/qsqldriver.h     [License: GPL (v3) LGPL (v3)]
A  +153  -0    3rdparty/Qt/include/QtSql/qsqlresult.h     [License: GPL (v3) LGPL (v3)]
A  +749  -0    3rdparty/Qt/src/sql/drivers/sqlite/qsql_sqlite.cpp     [License: GPL (v3) LGPL (v3)]
A  +123  -0    3rdparty/Qt/src/sql/drivers/sqlite/qsql_sqlite.h     [License: GPL (v3) LGPL (v3)]
M  +1    -2    kmymoney/plugins/sqlcipher/CMakeLists.txt
M  +2    -0    kmymoney/plugins/sqlcipher/cmake/modules/FindQSQLiteSource.cmake

https://commits.kde.org/kmymoney/a5b858fdce3f87a5386f1b4f128935dcbf183692
Comment 2 Ralf Habacker 2020-03-01 09:28:09 UTC
Git commit c5c7be98e52cb250bf2e222e741993ec34373c87 by Ralf Habacker.
Committed on 01/03/2020 at 09:26.
Pushed by habacker into branch '4.8'.

Fix 'Sqlcipher plugin could not be build'

Since there is no source package for the Qt4 sqlite driver, the
corresponding sources are embedded in kmymoney sources.
FIXED-IN:4.8.5

A  +100  -0    3rdparty/Qt/include/QtSql/private/qsqlcachedresult_p.h     [License: GPL (v3) LGPL (v3)]
A  +160  -0    3rdparty/Qt/include/QtSql/qsqldriver.h     [License: GPL (v3) LGPL (v3)]
A  +153  -0    3rdparty/Qt/include/QtSql/qsqlresult.h     [License: GPL (v3) LGPL (v3)]
A  +749  -0    3rdparty/Qt/src/sql/drivers/sqlite/qsql_sqlite.cpp     [License: GPL (v3) LGPL (v3)]
A  +123  -0    3rdparty/Qt/src/sql/drivers/sqlite/qsql_sqlite.h     [License: GPL (v3) LGPL (v3)]
M  +1    -2    kmymoney/plugins/sqlcipher/CMakeLists.txt
M  +2    -0    kmymoney/plugins/sqlcipher/cmake/modules/FindQSQLiteSource.cmake

https://commits.kde.org/kmymoney/c5c7be98e52cb250bf2e222e741993ec34373c87