[Interest] Making an ORM Library
Muhammad Bashir Al-Noimi
mbnoimi at gmail.com
Sat Sep 7 00:06:21 CEST 2013
On 09/06/2013 03:32 PM, Michael Dougras Silva wrote:
> 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?
I suggest to take a look to these list of ORM for Qt before invent the
wheel:
https://qt-project.org/forums/viewthread/27438/
--
Best Regards,
Muhammad Bashir Al-Noimi
More information about the Interest
mailing list