
Application Development with Qt Creator
Build cross-platform applications and GUIs using Qt 5 and C++, 3rd Edition
- 426 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Application Development with Qt Creator
Build cross-platform applications and GUIs using Qt 5 and C++, 3rd Edition
About this book
Explore Qt Creator, Qt Quick, and QML to design and develop applications that work on desktop, mobile, embedded, and IoT platforms
Key Features
- Build a solid foundation in Qt by learning about its core classes, multithreading, File I/O, and networking
- Learn GUI programming and build custom interfaces using Qt Widgets, Qt Designer, and QML
- Use the latest features of C++17 for improving the performance of your Qt applications
Book Description
Qt is a powerful development framework that serves as a complete toolset for building cross-platform applications, helping you reduce development time and improve productivity. Completely revised and updated to cover C++17 and the latest developments in Qt 5.12, this comprehensive guide is the third edition of Application Development with Qt Creator.
You'll start by designing a user interface using Qt Designer and learn how to instantiate custom messages, forms, and dialogues. You'll then understand Qt's support for multithreading, a key tool for making applications responsive, and the use of Qt's Model-View-Controller (MVC) to display data and content. As you advance, you'll learn to draw images on screen using Graphics View Framework and create custom widgets that interoperate with Qt Widgets. This Qt programming book takes you through Qt Creator's latest features, such as Qt Quick Controls 2, enhanced CMake support, a new graphical editor for SCXML, and a model editor. You'll even work with multimedia and sensors using Qt Quick, and finally develop applications for mobile, IoT, and embedded devices using Qt Creator.
By the end of this Qt book, you'll be able to create your own cross-platform applications from scratch using Qt Creator and the C++ programming language.
What you will learn
- Create programs from scratch using the Qt framework and C++ language
- Compile and debug your Qt Quick and C++ applications using Qt Creator
- Implement map view with your Qt application and display device location on the map
- Understand how to call Android and iOS native functions from Qt C++ code
- Localize your application with Qt Linguist
- Explore various Qt Quick components that provide access to audio and video playbacks
- Develop GUI applications using both Qt and Qt Quick
Who this book is for
If you are a beginner looking to harness the power of Qt and the Qt Creator framework for cross-platform development, this book is for you. Although no prior knowledge of Qt and Qt Creator is required, basic knowledge of C++ programming is assumed.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Section 1: The Basics
- Chapter 1, Getting Started with Qt Creator
- Chapter 2, Building Applications with Qt Creator
- Chapter 3, Designing Your Application with Qt Designer
- Chapter 4, Qt Foundations
- Chapter 5, Developing Applications with Qt Widgets
Getting Started with Qt Creator
- Where to download Qt Creator for Linux, macOS X, and Windows
- New features in the latest version of Qt
- How to ensure that your basic configuration is running
- A quick look at a simple Qt Widgets application as well as a Qt Quick application
Technical requirements
Downloading Qt and Qt Creator

New features in Qt
- Qt WebView (WebKit) has been deprecated and replaced by Qt WebEngine (Chromium).
- MinGW 64-bit compiler is now included in Qt's Windows installer.
- Many features have been added to the mobile platforms, including support for in-app purchasing.
- Qt Script, Qt Quick Control 1, and Qt Canvas 3D have been deprecated.
- Added support for new platforms, such as tvOS and watchOS.
- Previously commercial-only features such as Qt Charts, Qt Data Visualization, Qt Virtual Keyboard, Qt Purchasing, and Qt Quick 2D Renderer are now free.
- Added support for embedded platforms.
- Added Qt Automotive Suite.
- Qt binding for Python has been added (using the PySide 2 module).
- New signal and slot connection syntax – you can now directly connect a signal to a C++11 lambda function.
- Added support for JSON format.
- Added Qt 3D Studio.
- Added SCXML and state machine tooling in Qt Creator.
Finding your way around Qt Creator

Table of contents
- Title Page
- Copyright and Credits
- About Packt
- Contributors
- Preface
- Section 1: The Basics
- Getting Started with Qt Creator
- Building Applications with Qt Creator
- Designing Your Application with Qt Designer
- Qt Foundations
- Developing Applications with Qt Widgets
- Section 2: Advanced Features
- Drawing with Qt
- Doing More with Qt Quick
- Implementing Multimedia with Qt Quick
- Sensors and Qt Quick
- Section 3: Practical Matters
- Localizing Your Application with Qt Linguist
- Optimizing Performance with Qt Creator
- Developing Mobile Applications with Qt Creator
- Embedded and IoT Development with Qt Creator
- Qt Tips and Tricks
- Other Books You May Enjoy