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

Hamish Moffatt hamish at risingsoftware.com
Sun Oct 13 12:20:11 CEST 2019


On 11/10/19 10:22 pm, Marius Kittler wrote:
>> I tried to manually build the MySQL driver but failed because configure not
>> only looks for libmysql.* but also for a config.win32 (why).
> I use the following patch for my builds: https://github.com/Martchus/
> PKGBUILDs/blob/master/qt5-base/mingw-w64/0013-Fix-linking-against-shared-
> static-MariaDB.patch
>
> That works (the resulting package contains sqldrivers/qsqlmysql.dll).
>
> Note that the PostgreSQL needed a similar patch in my case.
>
Welcome to the club. Qt has never included a compiled version of the 
IBASE driver, although I don't think the licence would prohibit it. 
Further, it always needs patching to link against Firebird instead of 
Interbase.


Hamish


More information about the Interest mailing list