From 8f215600e7e7b4ce5c70df449feb228d6d910fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20W=C3=B3jtowicz?= Date: Tue, 5 Sep 2017 00:22:08 +0200 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 22d05ed..295a32d 100644 --- a/README.md +++ b/README.md @@ -2,22 +2,25 @@ 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. -Compiled Windows and Linux applications can be downloaded from [Releases](https://github.com/andre-wojtowicz/qt-sql-example/releases). +Compiled Windows and Linux applications with statically-linked libraries can be downloaded from [Releases](https://github.com/andre-wojtowicz/qt-sql-example/releases). ![](screenshot.png) -The program was tested on: - * clients: Windows 10 with Qt 5.9.1, Ubuntu 16.04 with Qt 5.5.1, - * servers: MySQL Server 5.5.57, Microsoft SQL Server 2008 R2 SP3. +The application is developed with Qt 5.9.1 on Windows 10 and Ubuntu 16.04. +The program was tested on MySQL Server 5.5.57 and Microsoft SQL Server 2008 R2 SP3. ## Client config -The program reads `config.ini` on startup. The file must be located in the app working directory. +The program reads `config.ini` on startup. The file must be in the app working directory. ## 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). MSSQL is handled by the ODBC driver. +Although binaries of the program have statically-linked libraries, in order to connect from Linux to MSSQL server, one should install ODBC SQL Server driver (e.g. `msodbcsql`__*__). + +The following section covers the essential tools to develop app with dynamically-linked SQL libraries. + ### Windows 10 * Both Qt SQL driver plugins (QMYSQL and QODBC) should be already bundled with Qt SDK.