[Interest] No access to MySql and MariaDB databases with Qt

helmut.muelner at gmail.com helmut.muelner at gmail.com
Fri Oct 11 10:27:47 CEST 2019

Recently the Bug "MySQL plugin binaries are in commercial packages"
https://bugreports.qt.io/browse/QTBUG-76081 was closed.

This means that (starting with Qt-5.12.3, I think) it is not possible to
access MySQL or MariaDB databases with LGPL or commercial Qt versions.

I am using LGPL Qt. To avoid licensing problems I used the QtSQL plugin for
MySQL but replaced the MySQL libmysql.dll with libmariadb.dll (by renaming
the latter).

This does not work anymore because there is no sqldrivers/qsqlmysql.dll in
the binary LGPL distributions.

I tried to manually build the MySQL driver but failed because configure not
only looks for libmysql.* but also for a config.win32 (why).

Any ideas or hints for this?


PS: The current Qt documentation does not mention the problems with MySQL.

PPS: Anybody out there looked at libdrizzle or libdrizzle-redux as an
alternative to qsqlmysql?






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20191011/6e697d08/attachment.html>

More information about the Interest mailing list