Qmake

qmakeDeveloper(s)| Qt Project

|

Stable release|

3.0

Written in| C++
Operating system| Linux, Mac OS X, FreeBSD, Windows
Type| Build automation
License| LGPL[1]

qmake is a software build automation tool that generates makefiles for building a codebase. As it generates configuration files for other build tools, it is classified as a meta-build tool.

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. Finally, the programmer must specify all source code files belonging to their program. This requires categorizing the files. This is done, as is common in C++ , into header and source code files. Resource files containing images, dialog definitions, or other data belonging to the program can also be specified . In addition to the build process, a .pro file can also describe the installation.

After a successful run of qmake, the programmer will find a Makefile that can be used to create the desired program. This takes into account all dependencies and defines additional rules in the Makefile that can be used to clear the compiler 's output . The Makefile can also contain rules for installing the generated program.

Project files for Microsoft IDEs can also be created, and under macOS, a project file for Apple's IDE Xcode is automatically generated instead of the Makefiles.

## See also

* List of meta-build automation tools

## References

1. ↑ "Qt Licensing - Qt Developer Network". qt-project.org. http://qt-project.org/products/licensing.

## External links

* qmake Manual
* qmake in the Qt base source repository

* v
* t
* e

Qt platform

GUIs built with Qt|

* AsteroidOS
* KDE Plasma
* Kdenlive
* KDE Partition Manager
* FeatherPad
* Lubuntu
* Lumina
* LXQt
* MeeGo
* Sailfish OS
* Skanlite
* VLC

Qt technologies|

* Meta-object System
* QML
* QtScript
* Qt Quick
* Qt Style Sheets
* Signals and slots

Tools|

* Qbs
* qmake
* Qt Creator
* Qt Linguist

Language bindings|

* List for Qt 4
* List for Qt 5
* PHP-Qt
* PyQt
* PySide
* QtRuby
* Qt Jambi
* hbQT

Supported platforms|

* Android
* Linux
* Windows
* Windows 10 Mobile
* macOS
* iOS
* QNX
* VxWorks

Related topics|

* KDE
* Mer
* MeeGo
* The Qt Company
* Qt Project
* Qt releases

* Software that uses Qt
* KDE Software
* Commons

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Qmake. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Qmake&oldid=3955935"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template