Supplementary materials for Introduction to Design Patterns in C++ with Qt
Retailer and publisher pages for this book say "Click here to obtain supplementary materials for this book" and link to this address. This page explains what that means today.
The book
| Title | Introduction to Design Patterns in C++ with Qt, 2nd edition |
|---|---|
| Authors | Alan Ezust and Paul Ezust |
| Publisher | Pearson, Open Source Software Development Series |
| Published | 16 September 2011 |
| Length | 768 pages |
| ISBN-13 | 978-0-13-282645-7 |
The book teaches C++ through Qt: object-oriented programming, inheritance, templates, QObject and signals and slots, widgets, the model-view pattern, XML, databases and concurrency. The publisher now lists it as out of print.
What the supplementary materials were
The materials were the example source code for the book's chapters, packaged so readers could compile and run the listings instead of typing them in. This site does not host that code: it belongs to the authors and publisher.
Where to get the code now
- The publisher's product page on InformIT offers a "Download free source code files" archive.
- The book is readable on O'Reilly Learning, where listings can be copied chapter by chapter.
Building the examples with a current Qt
The examples were written for Qt 4. Qt has since moved through Qt 5 to Qt 6 (Qt 6.11 was released in March 2026), so expect to adjust:
- Build files: the originals use qmake project files; recent Qt versions recommend CMake, though qmake still works for small projects.
- Modules: widget classes moved into the separate QtWidgets module in Qt 5, so add it to the project's module list.
- Deprecated APIs: compile with warnings on and follow the replacement named in each deprecation message.
See Qt in brief for the version history and the design patterns list the book builds on.