📑 Table of Contents
qmake
DeveloperQt Project
Stable release
3.0
Written inC++
Operating systemLinux, Mac OS X, FreeBSD, Windows
TypeBuild automation
LicenseLGPL[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

edit

References

edit
  1. ^ "Qt Licensing - Qt Developer Network". qt-project.org.
edit


📚 Artikel Terkait di Wikipedia

Qbs (build tool)

build graph from a high-level project description (like its predecessor qmake), and additionally undertakes the task of executing the commands in the

KDevelop

for QML and JavaScript, using the parser from Qt Creator, alongside a new QMake project-manager backend. The first stable 5.x release was KDevelop 5.0.0

Code::Blocks

makefiles, which simplifies interfacing with projects using the GNU or qmake build systems. Free and open-source software portal Comparison of integrated

List of build automation software

Cross-platform build tool for configuring platform-specific builds; written in Lua qmake – Software build automation tool Continuous integration systems automate

Qt (software)

be started as a standalone tool. In addition to Qt Creator, Qt provides qmake, a cross-platform build script generation tool that automates the generation

KDE Gear

Bazaar, Subversion, CVS, Mercurial (hg), and Perforce. Support for CMake and QMake, as well as generic and custom build files. Cervisia – CVS frontend KDESvn

SCons

Program("hello", ["hello.c", "main.c"]) Free and open-source software portal Buildout qmake – Software build automation tool Qbs (build tool) Premake – Cross-platform