> Renato Araujo wrote: > > Hi guys, > > > > > > 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. > > This use to work on qt4 as you can see on this example[1], but during > > my port to qt5 this stoped to work, > > I'm not sure whats happen but now the same code ported to qt5 [2] does > > not work as expected. > > > > Could someone help me on that, I'm afraid of that now qtquick check on > > static metaobject information, before query for any property value. > > This will make impossible to port the current code to work in the same > > way in qt5. > > > > > > [1] Qt4.8 example: https://github.com/renatofilho/qml4.git > > [2] Qt5.0 beta1 example: https://github.com/renatofilho/test-qml.git
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. -- Olivier Woboq - Qt services and support - http://woboq.com _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
