[Development] Notes on Metaobject & QML discussion @ QCS2016
Thiago Macieira
thiago.macieira at intel.com
Sat Sep 3 15:03:05 CEST 2016
https://wiki.qt.io/QtCS2016_MetaObject
* qMetaType<const T>() == qMetaType<T>()
** Because QMetaObject::normalizedType("const T") == "T"
** Fix it
* Q_NAMESPACE
** Keep it in 5.8
** look into having it with multiple .h
** Q_ENUM_NS(OtherNamespace::Enum) or using Enum = OtherNamespace::Enum; is a
good idea
* Direct property access via the qt_static_metacall
** qdbusxml2cpp
** Add property & setProperty to QDBusAbstractInterfaceBase
* Generated hash table
** properties, methods, enums
** hashing table needs to encode the type (Q_SIGNAL_CODE)
** perfect hashing doesn't help
** check if we can encode the hashing of the entire hierarchy
** "prelink" the class to its parent, recursively, but check at runtime
* For Qt6:
** metatype vs C++ RTTI
** qMetaType<T>() == &typeid(T)
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list