3 ms·
As long as you don't use anything derived from QObject, but that pretty much defeats the purpose... The moc is to effectively extend C++ with signals and slot
by prewett 11y ago
As long as you don't use anything derived from QObject, but that pretty much defeats the purpose...
The moc is to effectively extend C++ with signals and slot at a language level. I'm not crazy about the moc, but I love signals and slots. The only alternative is slow-compiling templates like boost signals and slots, which also have less than compelling syntax.