In particular, it also means we no longer have to manually identify which headers have Q_OBJECT # declarations etc. set(CMAKE_AUTOMOC ON) # Set the AUTOUIC property on all targets. This tells CMake to automatically handle the Qt uic code generator, without # having to use commands such ...