Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

qmake

doc.qt.io

  • Free plan
  • Windows
  • macOS
  • Linux
  • iPhone and iPad
7.4 Club score Visit doc.qt.io

What qmake is

qmake is a build tool that expands project files into Makefiles for applications, libraries, and other components. Its .pro files describe items such as source files, configuration, libraries, and include paths. qmake supplies build rules for Qt’s moc and uic tools, with templates for applications, libraries, and plugins. Projects can point to third-party libraries and include paths, and qmake can use pkg-config for supported libraries such as D-Bus and ogg. It can also generate Microsoft Visual Studio project files and, on macOS, Xcode project files. Platform notes cover iOS features such as universal binaries, frameworks, and bundles. In Qt 6, qmake remains supported for building Qt applications, but it cannot compile custom Qt plugins or libraries that depend on Qt 5 build-system internals. Qt warns that processed projects are treated as trusted input, so building an untrusted project can run code on the build machine. The Qt Community Edition is free under LGPL or GPL terms, with source-code obligations and limited access to some Qt capabilities.

Who it suits

qmake suits developers building Qt applications and related components across the listed desktop and mobile platforms. Teams using Qt 6 should check whether their custom plugins or libraries rely on Qt 5 build-system internals.

Good to know, and what to watch

  • Expands .pro project files into Makefiles
  • Includes rules for Qt moc and uic tools
  • Can generate Visual Studio and Xcode project files
  • Supports project references to third-party libraries
  • Qt 6 qmake cannot build certain Qt 5-dependent plugins or libraries
  • Building untrusted projects can execute code on the build machine
  • Community Edition has source-code obligations and limited capabilities

Qt Community Edition

Free

Free plan

The verdict

qmake provides a project-file-based route to building Qt applications and generating IDE project files. Consider the Qt 6 limitation and treat project files as trusted input when using it.

What the maker publishes

Build security
Qt warns that developer tools such as qmake treat processed projects as trusted input, so building an untrusted project can execute code on the build machine. source
Headquarters
Espoo, Finland source
IDE project generation
qmake can generate Microsoft Visual Studio project files and, on macOS, Xcode project files. source
Licensing
Qt offers commercial and open-source licensing, with the Community Edition available under LGPL or GPL terms. source
Maker and location
Qt Group is headquartered in Espoo, Finland, and its company history page says the first public Qt Framework version was released in 1995. source
Mobile targets
The platform notes describe qmake features for iOS, including creating universal binaries, frameworks, and bundles. source
Project files
qmake project files use `.pro` files that can specify source files, configuration, libraries, and include paths. source
Project types
qmake has templates for building applications, libraries, and plugins. source
Purpose
qmake manages the build process for applications, libraries, and other components by expanding project files into Makefiles. source
Qt 6 limitation
In Qt 6, qmake remains supported for building Qt applications but cannot compile custom Qt plugins or libraries that rely on Qt 5 build-system internals. source
Qt tools
qmake automatically includes build rules for Qt's moc and uic tools. source
Security reporting
Qt directs reports about open-source Qt vulnerabilities to [email protected] and says it does not currently have a bug bounty program. source
Security responsibility
Qt describes application security as a shared responsibility among application developers, Qt Group and Qt Project, and operators or device manufacturers. source
Third-party libraries
Project files can specify third-party libraries and include paths, and qmake can use pkg-config for supported libraries such as D-Bus and ogg. source

Checked against the maker's pages on 11 Oct 2026.