Good ORM to use with qt4 (C ++)? (Django likes it ...)

Does anyone have any recommendations for ORM for qt4 (C ++)? (Like Django ORM).

+5
source share
2 answers

I would suggest you take a look at QDjango ORM , this may be exactly what you are looking for. This C ++ ORM depends only on Qt and is based on the Qt Meta-Object System to provide introspection. In addition to the basic create / update / delete operations at the model level, it provides a request template class (modeled after django requests) that allows you to build fairly complex queries.

Additional QtScript support is also provided, so you can access your models and query the database from scripts.

+6
source

There is also a new ORM open source ORM library: QxOrm . QxOrm is based on the QtSql Qt module for communicating with the database and accelerating :: serialization to serialize your data using xml and binary format. The website is in French, but the quick code and tutorial code are in English (translation is in progress).

+2
source

All Articles