[ 源代码: verdigris ]
软件包:verdigris(1.3-1)
Header-only Qt moc replacement
Verdigris is a header-only library that can be used with Qt. It uses macros to create a QMetaObject that is binary compatible with Qt's own QMetaObject without requiring moc. In other words, you can use Verdigris macros in your Qt or QML application instead of some of the Qt macros and then you do not need to run moc.
Moreover, Verdigris supports templated and nested QObject classes. It needs a modern C compiler with C 14 relaxed constexpr.