4 ms·
Oh wow, Qt has moved to CMake as a build system? I remember fighting with qmake back in 2008 and trying to integrate it into our build system (and trying to get
by ComputerGuru 6y ago
Oh wow, Qt has moved to CMake as a build system? I remember fighting with qmake back in 2008 and trying to integrate it into our build system (and trying to get it to play nice with bjam for some reason). This is welcome news.
- detaro 6y agoWhat's specifically is new that Qt itself is built using cmake. You could use cmake to build apps using Qt for quite a while already.
- stjohnswarts 6y agoDid you even need qmake if you understood the MOC subsystem well enough to say write a cmake or gnu make file for it? I didn't think qmake was ever a requirement?
- amelius 6y agoDo they still use Moc?
- kevsim 6y agoThere 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.
- detaro 6y agoyes.