[Interest] Making an ORM Library

Bo Thorsen bthorsen at ics.com
Fri Sep 6 16:31:21 CEST 2013


Den 06-09-2013 15:57, Konstantin Tokarev skrev:
>
> 06.09.2013, 17:32, "Michael Dougras Silva" <micdoug.silva at gmail.com>:
>> Hi,
>>
>> I am making an ORM library for Qt using the meta-object system to store informations about the classes to be mapped. I am using defines like Q_PROPERTY() with parameters that generates inline functions returning the meta information, helping me to register this informations on meta-object system.
>>
>> This works for now, but I thinking that all classes to be mapped have to be QObject derivated, thus store this classes in Qt containers isn't possible.
>>
>> There are a way to use the meta-object system without derivating from QObject? If not, I thinking to make an application like moc that generates code for storing the meta information, thus making possible to use the classes mapped without deriving from QObject. What do you thinking about this?
>
> Have you looked at QxOrm or ODB? Both of them do not require derivation from QObject.

Konstantins answer also suggests that the time might be better spent 
helping out one of the two existing projects instead of starting a new one.

Bo.

-- 
Bo Thorsen, European Qt Manager, Integrated Computer Solutions
ICS - Delivering World-Class Applications for Embedded & Mobile Devices
http://ics.com/services



More information about the Interest mailing list