Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Qt has plenty of nice things for non-GUI applications too. It's more of a framework than just a library.


I remember being turned off by the use of a preprocessor. Is that still required?


Only if you use their (very nice) event/property system. If you don't inherit from QObject then you generally don't need the preprocessor.

That said, QMake and CMake both deal with the preprocessor for you.


By the way, it's a code generator, not a preprocessor. Everything you write is valid C++, it's just that there is additional code being generated that interfaces with your code.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: