From 0340b1c759fa8aca0363fc41ad110dbd9e59fe29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Hohnst=C3=A4dt?= Date: Mon, 12 Oct 2020 23:06:06 +0200 Subject: [PATCH] Improve OSX build instructions --- INSTALL.mac | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/INSTALL.mac b/INSTALL.mac index 210180f4..d36a303d 100644 --- a/INSTALL.mac +++ b/INSTALL.mac @@ -1,15 +1,22 @@ brew install pkg-config autoconf automake openssl qt libtool -cd xca-2.2.0 +cd xca-2.3.0 ./configure && make # Compile SQL Drivers if necessary: -# Download Qt sources with the same version -./configure -sql-mysql -sql-odbc -sql-psql -opensource -confirm-license \ - MYSQL_PREFIX=/usr/local/Cellar/mysql-client/8.0.18/ \ - MYSQL_INCDIR=/usr/local/Cellar/mysql-client/8.0.18/include/mysql/ \ - PSQL_PREFIX=/usr/local/Cellar/postgresql/12.1 \ - ODBC_PREFIX=/usr/local -make -C qtbase/src/plugins/sqldrivers/ + +brew install mariadb-connector-c postgresql unixodbc + +# Download Qt sources with the same version, currently: +# qtbase-everywhere-src-5.15.1 + +./configure -recheck -sql-mysql -sql-odbc -sql-psql -opensource -confirm-license -feature-datestring \ + MYSQL_LIBDIR=$(pkg-config --variable=prefix libmariadb)/lib/mariadb \ + MYSQL_INCDIR=$(pkg-config --variable=prefix libmariadb)/include/mariadb/ \ + MYSQL_LIBS="-lmariadb" \ + PSQL_PREFIX=/usr/local/Cellar/postgresql/12.4/ + ODBC_PREFIX=$(pkg-config --variable=prefix odbc) + +make sub-plugins