Skip to content

kramolnic/EasyQtSql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyQtSql

EasyQtSql is a lightweight header-only C++11 library for quick and easy SQL querying with QtSql classes.

Features:

  • Header only C++11 library
  • Easy to use - just include header files
  • Small size, simple code
  • SQL execution with less C++ code compared to QtSql library
  • Easier DB error handling
  • Easier parameters binding & result reading
  • RAII transactions
  • Not an ORM library - you can write, optimize & execute SQL queries as you want
  • MIT License

EasyQtSql doxygen Documentation

Getting Started

Prerequisites

You need to install:

  • C++11 compiler
  • Qt5 library
  • Qt Creator 4.7.2 - recommended (for automated test running)
  • QtSql module with the required SQL database drivers compiled / installed

The library was compiled and tested with:

  • MS Visual C++ Compiler 14.0 / Qt5.6 and Qt5.7
  • gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04) / Qt5.9

Quick Start Guide

Please read EasyQtSql doxygen Documentation

Running the tests

Tests are implemented with QtTest module. To run the tests you can use Qt Creator.

Built With

  • Qt - Qt | Cross-platform software development for embedded & desktop
  • QtSql - Qt SQL is an essential module which provides support for SQL databases

Authors

License

This project is licensed under the MIT License.

About

A lightweight header-only C++11 library for quick and easy SQL querying with QtSql classes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published