Introducing Qt 6: Learn to Build Fun Apps & Games for Mobile & Desktop in C++

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Get started quickly with Qt, the popular open source C++ framework for building C++-based applications and games. This book will have you building both fully functional desktop and mobile applications in no time, including some simple game applications.  

Introducing Qt 6 begins by guiding you in setting up your tools and environment, and then walks you through the first "baby steps" of Qt framework. Next, you'll learn the basics of how project and app structure are set up using Qt. Then, you’ll begin your first real hands-on projects using Qt, including a task and problem management application and two games.  

As you progress, you can enhance these apps and games using additional Qt components and features. The book then delves into advanced topics in Qt, learning above and beyond what the Qt docs can offer, including local storage, C++ integration, deployment to Windows and Android, custom components and how to work with them. 

Upon completing this book, you'll come away knowing how to build a C++ application from design to deployment, top to bottom. And, you'll have actual application and game examples that you can apply to your own work or hobby.

What You Will Learn

  • Learn to build your first applications and games using Qt 6 framework
  • Design, create, build and deploy your first Qt applications or games as finished products
  • Explore local storage integration in theory and practice
  • Cover deployment on Windows and on Android
  • Integrate with C++ language to leverage additional functionality
  • Dive into Custom Components and how to work with them
  • Explore different project structures and more

Who This Book Is For

Software programmers, developers who are new to C++ or the Qt framework. Some prior programming experience though may be helpful.

Author(s): Ben Coepp
Edition: 1
Publisher: Apress
Year: 2022

Language: English
Pages: 333
Tags: C++; Qt; Qt6

Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Chapter 1: Introduction
1.1 What Is This Book About?
1.2 What Will We Be Doing in This Book?
1.3 Why Qt?
1.4 What Are We Using?
1.5 Signals, Warnings, and the Context
Chapter 2: Content
2.1 Setting Up the Tools
2.1.1 Downloading + Installing Qt
2.1.2 Downloading and Installing Android Studio
2.1.3 Configuring the Android SDK, NDK, and Development Tools
2.2 First Steps with Qt
2.3 Explaining the Basics
2.3.1 Project Structure
2.3.2 App Structure
2.3.3 How Qt Creates an Application
2.3.4 Structuring Tips and Tricks
2.4 First Real Projects
2.4.1 Taskmaster
2.4.1.1 Project Creation
2.4.1.2 Loading the Pages
2.4.1.3 How the App Works
2.4.1.4 List View and Displaying Data
2.4.1.5 Adding Data to the List
2.4.1.6 Deleting Data
2.4.1.7 Cleaning Up the Application
2.4.1.8 Deploying the Application
2.4.1.9 What We Learned
2.4.2 Hang-Man
2.4.2.1 Project Creation
2.4.2.2 The Load Page and Main Page
2.4.2.3 Functionality
2.4.2.4 Building the App
2.4.2.5 Deploying the Application
2.4.2.6 What We Learned
2.4.3 Rock-Paper-Scissors Game
2.4.3.1 Project Creation
2.4.3.2 Functionality
2.4.3.3 Creating the Basic Game
2.4.3.4 Adding the Project to Git
2.4.3.5 Creating the Home Page
2.4.3.6 Creating the Game Page
2.4.3.7 Creating the End Page
2.4.3.8 Fixing the Mess
2.4.3.9 Adding Local Storage
2.4.3.10 Deploying the Application to Android
2.4.3.11 What We Learned
Chapter 3: Components, Features, and Things to Remember
3.1 Components
3.1.1 List View
3.1.2 Stack View
3.1.3 Swipe View
3.1.4 Buttons
3.1.5 Mouse Area
3.1.6 Text Field
3.1.7 Rectangle
3.1.8 Delegates
3.1.9 Models
3.1.10 Custom Components
3.1.11 Qt Charts
3.1.12 JSON for Beginners (and How You Might Use It in Qt)
3.2 Features
3.2.1 C++ Integration
3.2.2 Translation Files
3.2.3 Git in Qt
3.2.4 Qt Animation
3.2.5 Databases in Qt
3.3 Things to Remember
3.3.1 Writing Diagrams for Qt
3.4 Advanced Topics in Qt
3.4.1 Mobile Applications
3.4.2 Interactive and Real-Time Data
Appendix A:
Sources
Final Thoughts
Contact Information
Index