Docker Image with Qbs, clang and Qt
This docker image is used to compile source code with qbs build system. The Qt has compiled sql plugins.
Supported Driver
- QDB2
❌ - QIBASE
❌ - QMYSQL
✔️ - MARIADB
❌ - QOCI
❌ - QODBC
❌ - QPSQL PostgreSQL
✔️ - QSQLITE2
❌ - QSQLITE
❌ - QTDS
❌
Usage
To compile the source code with the docker file you can run
docker run \
--network="host" \ # grant access to the databas server on the host
--rm \ # cleans up after finishing
-v /source:/build \ # mount the source to the build directory /build
-w /build \ # use /build as working directory
ghcr.io/fettpet/qbs_qt_sql_plugins_docker:qt5.15.2-qbs1.20.1-clang10 \ # path to the container.
qbs build --build-directory /tmp/build -p autotest-runner # the qbs build