From 7f285add6dc053f5b300a57d735a0480d2dc2ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20W=C3=B3jtowicz?= Date: Sun, 3 Sep 2017 01:12:55 +0200 Subject: [PATCH] Updated readme --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a052262..b5d2585 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ An exemplary [Qt](https://www.qt.io/) app that connects to SQL server and displays a table from a database. The program was made for educational purposes. +A compiled Windows application can be downloaded from [Releases](https://github.com/andre-wojtowicz/qt-sql-example/releases). + ![](screenshot.png) The program was tested on: @@ -14,19 +16,19 @@ The program reads `config.ini` on startup. The file must be located in the app w ## SQL database drivers -A comprehensive discussion about SQL database drivers (Qt driver plugins as well as system drivers) can be found in [Qt Documentation](https://doc.qt.io/qt-5/sql-driver.html). +A comprehensive discussion about SQL database drivers (Qt driver plugins as well as system drivers) can be found in [Qt Documentation](https://doc.qt.io/qt-5/sql-driver.html). MSSQL is handled by the ODBC driver. ### Windows 10 -* Both Qt SQL driver plugins should be already bundled with Qt SDK. -* System ODBC driver should be already bundled with Windows. -* System MySQL driver can be *installed* by placing `libmysql.dll` from [C API for MySQL (mysqlclient)](https://dev.mysql.com/downloads/connector/c/) in the app working directory. +* Both Qt SQL driver plugins (QMYSQL and QODBC) should be already bundled with Qt SDK. +* MySQL driver can be *installed* by placing `libmysql.dll` from [C API for MySQL (mysqlclient)](https://dev.mysql.com/downloads/connector/c/) in the app working directory. +* ODBC Driver Manager and SQL Server driver are built in; hence, no further installation is necessary. Alternatively, instead of SQL Server driver, one can use Microsoft ODBC Driver; see [Microsoft Docs](https://docs.microsoft.com/en-us/sql/connect/odbc/windows/microsoft-odbc-driver-for-sql-server-on-windows). ### Ubuntu 16.04 Packages with Qt driver plugins and system SQL drivers: * MySQL - `libqt5sql5-mysql` `libmysqlclient20`, -* MSSQL/ODBC - `libqt5sql5-odbc` `libodbc1` `odbcinst` `unixodbc` `msodbcsql`__*__. +* ODBC ([unixODBC Driver Manager](http://www.unixodbc.org) and Microsoft ODBC Driver) - `libqt5sql5-odbc` `libodbc1` `unixodbc` `odbcinst` `msodbcsql`__*__. __*__ How to install `msodbcsql` - [Installing the Microsoft ODBC Driver for SQL Server on Linux and macOS](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server).