[Development] Qt5 and dynamic meta object
Lincoln Ramsay
a1291762 at gmail.com
Tue Oct 16 01:50:26 CEST 2012
On 15/10/12 20:12, Olivier Goffart wrote:
>> Renato Araujo wrote:
>>> I'm working to port a library based on qt4.8 and qtquick 1.1 to qt5
>>> and qtquick 2.0.
>>> This library uses dynamic metaobject to export dynamic properties
>>> signals and slot.
>>> What this library does is override the metaObject() function to return
>>> a new custom metaobject.
> The format of QMetaObject has change a lot in Qt5.
> You need to adapt to those changes.
> You need to re-generate the moc generated code with the new moc, and start
> again from there.
Check out QMetaObjectBuilder in QtCore. It's private but then, so is
what you're doing now :)
--
Link
More information about the Development
mailing list