Hacker News new | past | comments | ask | show | jobs | submit login

The MOC is still present in Qt 6.0, if that is what you are asking.



Even with CMake?


Question 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.


There 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


> 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.


Yes. That's orthogonal. And people have been using CMake with Qt (and moc) for almost as long as cmake exists




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: