CHAPTER 15Building Qt Projects

This book has relied on QMake to build the example applications by using standard project files without using any advanced features. However, QMake can also be used to manage advanced projects and to handle projects resulting in multiple executables, libraries, and plugins. This chapter introduces some of the most common features you'll need when you want to create more sophisticated Qt projects.

You'll also learn about a great alternative to Qmake: Kitware's CMake ( Like QMake, CMake is an open-source, cross-platform build system. It's worth discussing CMake because of its adoption as the build tool for one of Qt's most prominent users, the KDE project (


QMake ...

Get Foundations of Qt Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.