Files
TinyORM/docs/dependencies.mdx
2022-03-06 12:45:47 +01:00

46 lines
1.8 KiB
Plaintext

---
sidebar_position: 1
hide_table_of_contents: true
description: Library dependencies are MySQL Connector/C 8, range-v3 0.11.0 and the Qt framework version used during development was 5.15.2. The code was developed on MSVC 16.9-16.11.7, GCC 10.2-11.2, and Clang 11-13.
---
# Dependencies
The code was developed on MSVC 16.9-16.11.7, GCC 10.2-11.2, and Clang 11-13, so may be assumed it will work on future releases of these compilers. Minimum required ISO C++ standard is c++20.
The Qt framework version used during development was 5.15.2 and >= 6.2.
- minimum ISO C++ standard is c++20
- [Qt Framework 5.15.2](https://www.qt.io/download-qt-installer) - [`QtCore`](https://doc.qt.io/qt-5/qtcore-module.html) and [`QtSql`](https://doc.qt.io/qt-5/qtsql-index.html) modules
- >= [Qt Framework 6.2](https://www.qt.io/download-qt-installer) - [`QtCore`](https://doc.qt.io/qt-6/qtcore-module.html) and [`QtSql`](https://doc.qt.io/qt-6/qtsql-index.html) modules
- [range-v3 0.11.0](https://github.com/ericniebler/range-v3)
Optional:
- [MySQL Connector/C 8](https://dev.mysql.com/downloads/c-api/) - used only for the [`mysql_ping()`](https://dev.mysql.com/doc/c-api/8.0/en/mysql-ping.html) function and provided by [MySQL 8 Server](https://dev.mysql.com/downloads/mysql/)
### Install dependencies
On `Linux`, you can install dependencies with the package manager.
<small>
```text title='MySQL C library'
Arch - pacman -S mariadb-libs
Gentoo - emerge dev-db/mysql (package.use: -server -perl)
Ubuntu - apt install libmysqlclient-dev
```
```text title='range-v3 library (header only)'
Arch - pacman -S range-v3
Gentoo - emerge dev-cpp/range-v3
Ubuntu - apt install librange-v3-dev
```
```text title='ccache'
Arch - pacman -S ccache
Gentoo - emerge dev-util/ccache
Ubuntu - apt install ccache
```
</small>