This is the code repository for Qt 6 C++ GUI Programming Cookbook, published by Packt.
Practical recipes for building cross-platform GUI applications, widgets, and animations with Qt 6
This recipe-based guide will provide you with plenty of DIY tasks to help you understand various aspects of the Qt 6 toolkit. You’ll learn how to develop and customize cross-platform GUIs that are interactive and appealing to your customers.
This book covers the following exciting features:
- 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
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
import QtQuick
import QtQuick.Window
Window {
visible: true
width: 640
title: qsTr("Hello World")
}
Following is what you need for this book: 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.
With the following software and hardware list you can run all code files present in the book (Chapter 1-x).
Chapter | Software required | OS required |
---|---|---|
1-14 | Qt Creator 12.0.2 | Windows, macOS, or Linux |
1-14 | Qt Design Studio | Windows, macOS, or Linux |
1-14 | SQLiteStudio | Windows, macOS, or Linux |
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 two 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.