![]() |
[Announce] DQuest - ORM framework for Qt/Sqlite
Hi all!
I would like to introduce my new OSS project for Qt and mobile. It is DQuest , a C++ ORM (Object-relational mapping) for Qt framework. It aims to provide a rapid development environment for application with database access. The database model declaration is very simple , just like other C++/Qt class. It is designed for mobile environment but also useful for desktop and embedded application that do not demand for maximized performance for database. It is getting more number of application use Sqlite for their data storage. However, writing data model in SQL is complicated . Usually it need to write two set of interface : One for C/C++ and other for Sql. The work load is duplicated, and debug is troublesome. With DQuest, you can declare a database model using C++ directly. Read / write access can be made through the C++ interface. You won't need to wbrite any SQL to gain the benefit of using Sqlite in your application. To declare your database model, you need to: * Create a class that inherits DQModel * Added a DQ_MODEL macro to the class declaration * Design your database field by using DQField template type * Register your model with DQ_DECLARE_MODEL macro function. Example: Code:
#include <dqmodel.h> Code:
CREATE TABLE user ( Features
Pending features Multiple database access
Limitations
DQuest source code is licensed under BSD license. You may use it for open source and closed source application , you just need to obey the requirement of BSD (e.g distribute the license agreement). Moreover, if you can inform us that your application is using DQuest. It can encourage developer to further develop the software. Links: Motivation: When I develop the 0.1 version of PenPen Sketchbook , the prototype of drawing interface only spend me few hours , and a working code is completed within two night. However, when I make the sqlite code , it a much longer time to develolop in compare with the drawing function. 60% of time spent on database code totally. I think it is non-sense for such a tiny project. Therefore , that inspired me to develop a C++ ORM for Qt and sqlite. |
Re: [Announce] DQuest - ORM framework for Qt/Sqlite
hi all!
The 0.2 version is just out! The changes: Code:
Release 0.2 http://code.google.com/p/d-quest/ |
Re: [Announce] DQuest - ORM framework for Qt/Sqlite
Would it be possible to use this to edit the calendar database of the N900?
I have one spesific use case in mind: changing the appointment status from "public" to "private". |
Re: [Announce] DQuest - ORM framework for Qt/Sqlite
Could you make android pulse (RSS aggregation with a new look) like software in QT for N900 :)
|
All times are GMT. The time now is 08:37. |
vBulletin® Version 3.8.8