Qmake

qmake is a utility that automates the generation of makefiles. Makefiles are used by the program make to build executable programs from source code; therefore, qmake is a make-makefile tool, or makemake for short.

The makefiles that qmake produces are tailored to the particular platform where it is run from based on qmake project files. This way one set of build instructions can be used to create build instructions on different operating systems. qmake supports code generation for the following operating systems: Linux (including Android), Apple macOS, Apple iOS, FreeBSD, Haiku, Symbian, Microsoft Windows and Microsoft Windows CE.

qmake was created by Trolltech (now The Qt Company). It is distributed and integrated with the Qt application framework, and automates the creation of moc (meta object compiler) and rcc (resource compiler) sources, which are used in Qt's meta-object system and in the integration of binary resources (e.g., pictures).

The qmake tool helps simplify the build process for development projects across different platforms. It automates the generation of Makefiles so that only a few lines of information are needed to create each Makefile. You can use qmake for any software project, whether it is written with Qt or not.