Qt 6 C++ GUI Programming Cookbook: Practical recipes for building cross-platform GUI applications, widgets, and animations with Qt 6, 3rd Edition
Author: Lee Zhi Eng (Author)
Publisher finelybook 出版社: Packt Publishing
Edition 版次: 3rd ed.
Publication Date 出版日期: 2024-04-12
Language 语言: English
Print Length 页数: 428 pages
ISBN-10: 1805122630
ISBN-13: 9781805122630
Book Description
Use Qt 6 to design and build functional, appealing, and user-friendly graphical user interfaces (GUIs) for your applications
Key Features
- Learn to use Qt 6 to design and customize the look and feel of your applications
- Improve the visual quality of an application by using graphics rendering and animation
- Understand the balance of presentation and web content that will make an application appealing yet functional
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
With the growing need to develop GUIs for multiple targets and multiple screens, improving the visual quality of your application has become pivotal in helping it stand out from your competitors. With its cross-platform ability and the latest UI paradigms, Qt makes it possible to build intuitive, interactive, and user-friendly UIs for your applications.
The third edition of Qt 6 C++ GUI Programming Cookbook teaches you how to develop functional and appealing UIs using the latest version of Qt 6 and C++. This book will help you learn a variety of topics such as GUI customization and animation, graphics rendering, and implementing google Maps. You’ll also be taken through advanced concepts such as asynchronous programming, event handling using signals and slots, network programming, and other aspects to optimize your application.
By the end of this Qt book, you’ll have the confidence you need to design and customize GUI applications that meet your clients’ expectations and have an understanding of best-practice solutions to common problems during the app development process.
What you will learn
- Animate GUI elements using Qt 6’s built-in animation system
- Draw vector shapes and bitmap images using Qt 6’s powerful rendering system
- Implement an industry-standard OpenGL library in your project
- Build a mobile app that supports touch events and export it into devices
- Parse and extract data from an XML file and present it on your GUI
- Interact with web content by calling JavaScript functions from C++
- Access MySQL and SQLite databases to retrieve data and display it on your GUI
Who this book is for
This intermediate-level book is designed for those who want to develop software using Qt 6. If you want to improve the visual quality and content presentation of your software application, this book is for you. Prior experience with the C++ programming language is required.
Table of Contents
- Look-and-Feel Customization with Qt Designer
- Event Handling – Signals and Slots
- States and Animations with Qt and QML
- QPainter and 2D Graphics
- OpenGL Implementation
- Transitioning from Qt5 to Qt6
- Using Network and Managing Large Documents
- Threading Basics – Asynchronous Programming
- Building a Touch Screen Application with Qt6
- JSON Parsing Made Easy
- Conversion Library
- Accessing Databases with SQL Driver and Qt
- Develop Web Applications Using Qt WebEngine
- Performance Optimization
About the Author
Lee Zhi Eng is a self-taught programmer who worked as an artist and programmer at several game studios before becoming a part-time lecturer for 2 years at a university, teaching game development subjects related to Unity and Unreal Engine.
He has not only taken part in various projects related to games, interactive apps, and virtual reality but has also participated in multiple projects that are more oriented toward software and system development. When he is not writing code, he enjoys traveling, photography, and exploring new technologies.