06.09.2013, 17:32, "Michael Dougras Silva" <micdoug.si...@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. -- Regards, Konstantin _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest