Book description
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.
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
- Technical requirements
- Getting started – our sample library
- Learning the landscape – the Build menu and the .pro file
- Linking against our sample library
- Getting lost and found again – debugging
- The Projects pane and building your project
- A review – running and debugging your application
- Summary
-
Designing Your Application with Qt Designer
- Technical requirements
- Introducing signals and slots
- Creating user interfaces with Qt Designer
- Instantiating forms, message boxes, and dialogs in your application
- Wiring the Qt Widgets application logic
- Introducing Qt Quick's support for declarative user interface development
- Understanding the building of a Qt application
- Creating the Qt application
- Summary
- Qt Foundations
- Developing Applications with Qt Widgets
- Section 2: Advanced Features
- Drawing with Qt
-
Doing More with Qt Quick
- Technical requirements
- Understanding the fundamental concepts of Qt Quick
- Using states and transitions in Qt Quick
- Integrating Qt Quick and C++
- Putting it all together – an image gallery application
- Introducing the new Qt Quick Controls 2
- Understanding the new graphical editor for SCXML
- Summary
- 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
- Technical requirements
- Writing console applications with Qt Creator
- Integrating Qt Creator with version control systems
- Configuring the coding style and coding format options
- Applying new themes to Qt Creator
- Setting the Qt Quick window display options
- Building projects from CMake and the command line
- Running multiple debuggers simultaneously
- Learning more about Qt
- Summary
- Other Books You May Enjoy
Product information
- Title: Application Development with Qt Creator
- Author(s):
- Release date: January 2020
- Publisher(s): Packt Publishing
- ISBN: 9781789951752
You might also like
book
Game Programming Using Qt
A complete guide to designing and building fun games with Qt and Qt Quick 2 using …
book
Hands-On High Performance Programming with Qt 5
Build efficient and fast Qt applications, target performance problems, and discover solutions to refine your code …
book
Introduction to Design Patterns in C++ with Qt, 2nd Edition
Master C++ “The Qt Way” with Modern Design Patterns and Efficient Reuse This fully updated, classroom-tested …
book
Getting Started with Qt 5
Begin writing graphical user interface(GUI) applications for building human machine interfaces with a clear understanding of …