https://bugs.kde.org/show_bug.cgi?id=511429

--- Comment #12 from [email protected] ---
Maik,

>From you comment 4, you said that Mysql and Mariadb QtSql driver are split. I
don't see this info in the Qt doc :

https://doc.qt.io/qt-6/sql-driver.html#qmysql-for-mysql-or-mariadb-5-6-and-higher

The Qt base config script do not have both backend separated :

https://code.qt.io/cgit/qt/qtbase.git/tree/config_help.txt

Database options:

  -sql-<driver> ........ Enable SQL <driver> plugin. Supported drivers:
                         db2 ibase mysql oci odbc psql sqlite mimer
                         [all auto]
  -sqlite .............. Select used sqlite [system/qt]  

And it's true that only one driver name "mysql" exists for both :

https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/sqldrivers

So we have 2 solutions : 

1/ Create 2 bundles each time to support both separately, depending of the
dependencies passed at Qt configuration.
2/ Create one dedicated sql driver for Mariadb (or Mysql) based on the current
one from Qt and make it available in digiKam with the relevant settings adds to
the Setup/Database. 

1/ I'm not favorable as it will increase the complexity for the packaging. 
2/ This will require more work but it will safe i think for the future.

Best

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to