Is this the Qt version that drops the custom metaprogramming stuff for QObject and friends and adopts modern C++ in its place? If so, it's a very cool development! :)
MOC was never simply superfluous.
but it's not a proper replacement.
With Qt's moc you just annotate the class:
class Foo {
Q_OBJECT
Q_SIGNAL void f(int a, int b);
Q_INVOKABLE void g(int c, int d);
};
with CopperSpice (and verdigris, and anything else that does not use an external code generator) you have to repeat all the names and use much more macros: class Foo {
CS_OBJECT(Foo)
CS_SIGNAL_1(Public, void f(int a, int b));
CS_SIGNAL_2(f, a, b);
CS_INVOKABLE_METHOD_1(Public, void g(int c, int d));
CS_INVOKABLE_METHOD_2(g, c, d);
};Now they're just equally as annoying as any other macros are, which is to say, a lot less annoying than it used to be.