2 ms·
There was some effort to make it possible to use Qt without moc [0] and instead rely on some more modern C++ features. No clue where the effort is these days 0
by kevsim 6y ago
There was some effort to make it possible to use Qt without moc [0] and instead rely on some more modern C++ features. No clue where the effort is these days
0: https://woboq.com/blog/verdigris-qt-without-moc.html https://woboq.com/blog/verdigris-qt-without-moc.html
- amelius 6y agoNow that I'm thinking of it, the Boost C++ libraries have a signals/slot implementation: https://www.boost.org/doc/libs/1_63_0/doc/html/signals.html https://www.boost.org/doc/libs/1_63_0/doc/html/signals.html (probably already superseded by more modern C++ constructs)
- jcelerier 6y agoThere isn't anything in boost, and even less in c++20 that gets anywhere close to the codegen & runtime reflection that Qt provides. We need reflection & metaclasses/constexpr code generation but the way it looks it won't be in before c++26.