~/talk

Qt's moc and QMetaObject reflection

Talkat Meeting C++ 2016 · 2016-11-18..11-19· [rust]
slides:none on file

Explains what moc actually generates for Qt's QMetaObject, shows a clang-based reimplementation called mng that replaces moc using clang and that compiles Qt and passes Qt tests, and demos a header-only C++14 approach called verree that builds the same meta data with constexpr and heavy macros. Reports that mng works but adds clang dependency and can be slower unless used as a compiler plugin, and that verree avoids moc but increases compile time and yields brutal template error messages.

AI-written summary · about

  1. 0:00Qt's moc and QMetaObject
  2. 3:16Qt features via moc
  3. 9:22QMetaObject structure
  4. 14:25Moc's code generation
  5. 18:48Q&A on moc
  6. 19:08Mock NG with Clang
  7. 29:17Mock NG performance
  8. 31:08Verdeg: macros and templates
  9. 37:37Future of moc and reflection
  10. 41:07Q&A on macros
  11. 43:21Clang plugins for moc NG
  12. 45:14Qt's stance on moc
  13. 46:18Mock NG motivation
  14. 47:45Q&A on Clang docs
  15. 51:19Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.