Qt & Technical Deep Dive

Verdigris: Using Qt Without moc.


B07 5.11.2019 16:00 - 16:30

Bookmark and Share

Olivier Goffart
Olivier Goffart
Woboq

When building an application that uses Qt, the build system is running a tool called ‘moc’ which parses your header and extract metadata about your code that enable features like signal and slot or property usable from QML. This talk will explain what moc does by explaining some of the internals of QMetaObject. It will continue by explaining what are the drawbacks of moc, and present an alternative: Verdigris [https://github.com/woboq/verdigris], a library that allow to use Qt without moc