`qmake`, part of the Qt framework, is a tool for generating Makefiles and IDE project files.
qmake, part of the Qt framework, is a multi-platform tool for generating GNU Makefiles, Microsoft Visual Studio project files, and Apple XCode project files from a common .pro project file.
Among other features specific to the Qt framework, qmake automates the process of running moc on source files that contain the Q_OBJECT macro.
qmake manual can be found here for Qt 4.8 and here for Qt 5.