Welcome to QDjango

QDjango is a simple yet powerful Object Relation Mapper (ORM) written in C++ and built on top of the  Qt library. Where possible it tries to follow  django's ORM API, hence its name. It is released under the terms of the  GNU Lesser General Public License version 3.

QDjango builds upon  Qt's Meta-Object System, so if you are familiar with Qt, you should feel right at home using QDjango. QDjango's features include:

  • support for a wide range of database backends thanks to QtSql
  • database fields are declared using Qt's  Q_PROPERTY macro
  • QDjango can create and drop database tables and indices for registered models
  • thread-aware access to the database
  • support for accessing your models from QtScript?

Building QDjango

You can checkout the latest version of QDjango using git:

git clone git://git.bolloretelecom.eu/qdjango.git

To build the project, run the following from your qdjango directory:

mkdir build
cd build
cmake ..
make

NOTE: if you want to view all SQL requests performed by QDjango, invoke cmake as follows:

cmake .. -DQDJANGO_DEBUG_SQL=1

Using QDjango

Please refer to:

You can learn more about QDjango by reading the QDjango API documentation.

Mailing list

If you wish to discuss QDjango, you are welcome to join the  QDjango mailing list.