4 ms·
The MOC is still present in Qt 6.0, if that is what you are asking.
by stagger87 6y ago
The MOC is still present in Qt 6.0, if that is what you are asking.
- kevin_thibedeau 6y agoEven with CMake?
- alvarelle 6y agoYes. That's orthogonal. And people have been using CMake with Qt (and moc) for almost as long as cmake exists
- omegote 6y agoQuestion should be "even with C++17?". Cmake has had moc and uic support for years now. The question is why they don't leverage the c++17 features to get rid of moc, ffs.
- marcthe12 6y agoThere is some features used by moc expected in c++23 like reflection. I think that in qt 7 they will drop moc an some stl replcements in qtcore
- rualca 6y ago> Even with CMake? Why would Cmake eliminate the need for Qt's moc? Cmake is a build system/makefile generator. You don't generate c++ from form files or Qt-annotated C++ files out of magic.