Building Qt projects with Qmake

Building Site

Article from Issue 151/2013

Qt’s own build system Qmake is often overlooked for larger projects, but many experienced developers appreciate Qmake support for shadow builds and pre- or post-build dependencies.

Qmake, the build system originally developed by Trolltech for Qt applications, often goes unnoticed. Many developers are happy to use the combination of Qmake and the Qt library for small- to medium-sized projects. But as the projects grow, many Qt developers suddenly switch to the Qmake alternative Cmake, which originated as the build system for ITK (the Insight Segmentation and Registration Toolkit).

The reason most often heard for neglecting Qmake is that it is simply unsuitable for many tasks. In the KDE project, for example, Cmake is the tool of choice for compiling large amounts of source code. (Other build systems, such as Autotools, Ant, and the like play a very small role in Qt development because of the increased integration overhead.) As this article shows, however, Qmake can do so much more than most developers realize.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Table of Contents: 151

    The Nepomuk semantic desktop has matured with the KDE 4 series. We look at how you can use Nepomuk to structure information about the files, folders, and applications on your system. Then, discover Qt build tool Qmake, social media data mining, and the e-commerce services of eBay and Amazon.

  • Create a DIY Planner with Dynamic Templates
  • Qt for Maemo

    Write your own smartphone apps with Qt's toolkit for the Maemo platform.

  • Programming with QCanvas

    The Qt toolkit from Trolltech sports features that appeal to any developer’s needs, but one of the most fascinating and powerful parts of the toolkit is the QCanvas class.

  • Meson Build System

    Developers fed up with cryptic Makefiles should take a look at the new Meson build system, which is simple to operate, offers scripting capabilities, integrates external test tools, and supports Linux, Windows, and Mac OS X.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95


njobs Europe
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia