Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.11.2
-
None
-
Kubuntu 18.04.1 LTS
and
Windows 10 + Visual Studio 2017 Community
-
-
b3f94eba6d4a329b5c64c7fb60ba33e3a8df301e
Description
I tried to compile Qt 5.11.2 with MariaDB LGPL client library on both Windows 10 with Visual Studio 2017 and Kubuntu Linux (18.04.1 LTS):
./configure -debug-and-release -opensource -confirm-license -nomake tests ^ -openssl -plugin-sql-mysql -plugin-sql-odbc -qt-libpng -qt-libjpeg ^ -opengl desktop -system-proxies ^ -no-compile-examples -prefix C:\Qt64\5.11.2\qtbase
output:
... Qt PrintSupport: CUPS ................................... no Qt Sql: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... yes PostgreSQL ............................. no SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... no Qt Testlib: Tester for item models ................. yes Qt SerialBus: ...
On LInux ( Kubuntu 18.04.1 LTS ) - I tried
apt-get install mariadb-server mariadb-client
and build it with and without -I and -L tags:
-I /usr/local/include/mariadb -L /usr/local/lib/mariadb -lmariadb
as well as various other tries and find / - name mariadb searches on the command line.
But also with linux, this build will fail.
./configure -opensource -confirm-license \ -openssl -plugin-sql-mysql -plugin-sql-odbc \ -qt-libpng -qt-libjpeg \ -opengl desktop -system-proxies \ -prefix /usr/local/Qt64/5.11.2/qtbase
It works well when you install the mysql-client
apt install libmysql++-dev libmysqlclient-dev \ unixodbc-dev unixodbc-bin
Attachments
Issue Links
- replaces
-
QTBUG-36254 Can't build Qt with MariaDB LGPL client library.
- Closed
-
QTBUG-29798 Adding MariaDB support
- Closed