Migrating to Qt 6

Migrating to from Qt 5 to Qt 6 for the experienced developer

4.60 (76 reviews)
Udemy
platform
English
language
Other
category
instructor
9,526
students
3 hours
content
Jan 2021
last update
$54.99
regular price

What you will learn

Tips and Tricks for migrating to Qt 6

Basic changes to Qt 6

Basic CMake usage

Migration strategies

Core 5 compatibility

Version adoption issues

Description

Moving between versions presents its own challenges. This course covers a wide range of technologies using Qt 6, we will migrate existing Qt 5 console, Widget and QML GUI applications to the Qt 6. Designed give experienced developers a first hand look at code changes from Qt 5 to Qt 6 and what you can expect when attempting to migrate to Qt 6. This course is not for the beginner, and is hyper focused on code migration issues.

I took all the Qt code I have written to date, and ran the projects through a series of automated tests - this is literally hundreds of projects ranging in complexity of "hello world" all the way to high performance multi-threaded TCP servers, and collected 20 real world examples we will dive into. We will cover how to examine code, review failures to compile along with cover backwards compatibility.

The code used in migration testing was imported in the previous Qt 5 courses:

  • QT 5 Core beginners with C++

  • QT 5 Core intermediate with C++

  • QT 5 Core advanced with C++

  • QT 5 Widgets for beginners C++

  • QML for beginners with Qt 5

  • QT 5 Design Patterns

Testing each project using the following pattern:

  • Running the code in Qt 5

  • Converting the project to CMake

  • Running and fixing the code in Qt 6

  • Check with official documentation as needed

This course expects the developer to have a solid understanding of Qt, QML, Widgets and C++ before enrolling.

We will also cover some basics of CMake, including some troubleshooting steps for when your project won't load or fails to compile.

CMake templates also included.

Content

Course introduction

Who this course is for
What is the goal of this course
Why this course was created
Who is the instructor
Source Code

Qt 6 general overview

Qt 6 Released
Technical Specifications
Supported Platforms
The Official Documentation
Changes to Qt Modules
What's New
Installing Qt 6

Migrating from QMake to CMake

QMake still works
Diving into CMake
CMake Widgets Example
CMake QML Example
Custom CMake Template
Downloadable CMake Templates
CMake Tutorial
Qt 6 Build System
Run in terminal

Code Examples

Code Migrations
Source Code
Moving from C++ 11 to C++ 17
Example 1 – QML Menus and Dialog
Example 2 – Regular Expressions
Example 3 – Widgets with Qt Concurrent
Example 4 – QML with Qt Concurrent
Example 5 – sprintf and asprintf
Example 6 – UDP Qt Concurrent Chat
Example 7 – HTTP Post
Example 8 – SSL Post and Download
Example 9 – TCP Server
Example 10 – Property System
Example 11 – Date and Time
Example 12 – Linked Lists
Example 13 – QByteArray Changes
Example 14 – Don’t use endl
Example 15 – Text Codec
Example 16 – Reading and Writing XML
Example 17 – QSysInfo Changes
Example 18 – Widgets Windows Flags
Example 19 – Widgets Tri-State Checkbox
Example 20 – Incremental Versions Adoption

Getting help

Modules Coming 6.1 / 6.2
Qt Official Support
Qt Forums
Qt Bug Reports
Voidrealms Facebook & Youtube

Screenshots

Migrating to Qt 6 - Screenshot_01Migrating to Qt 6 - Screenshot_02Migrating to Qt 6 - Screenshot_03Migrating to Qt 6 - Screenshot_04

Reviews

Shaun
March 7, 2022
It's a series of recordings as the author converts their examples made for Qt5 youtube tutorials to Qt6. The Qt6 CMake templates provided are hardly modified from those qtcreator automatically generates. I like the author's other courses and youtube channel, this one is just not what I had hoped for. It's not very advanced, the examples are very simple. I don't see any OpenGL or custom widgets built as plugins for use in the designer. Most of this content exists in the example section in qtcreator after installing any Qt6.x
Reiner
July 12, 2021
All I need to migrate and so much more. Personally I can only say Bryan's courses are very professional, very well structured and I love how excited he is about teaching. One of my favorite instructor and all the content (from this and other courses ) are very usefully for beginners and also professionals.
E.
April 3, 2021
I had some problems to understand CMake. After I have watched the first lessons of Bryan's course, everything was clear. Now I am able to use Qt Creator together with CMake. Even for non Qt, pure C++ projects. I am very curious about the next lessons...
Talal
January 23, 2021
As usual Bryan deliver the right information with clear and short words, with the very life and practical examples, it is very helpful to save the user, me in this case a lot of time looking for solutions. thanks Bryan for the great tutorials
HappyPie
January 14, 2021
With a solid introduction and overview at the beginning, the rest of the course simply made sense and the flow of new information was easy to digest. The course goes through what it set out to do, makes you ready for migrating from Qt5 to Qt6 with CMake as the build system. Basically the course was straight forward and delivered what it promised. What I like the most out of this course is *how* Bryan teaches, his teaching methods. He break the course into distinct categories (course sections) making sure that you first know the general things regarding the migration to Qt6, the fundamental changes, the documentation and CMake (being now the default qt build system), before diving into the main code. The main code section (code examples) is also broken down and structured in a way where each lesson is separated into its own topic based on the Qt class at hand. In each of these lessons he structure the topics in simple repeatable steps following the same "recipe" for each topic, which is: 1) make sure it works on Qt5.15 2) Convert and Build in Qt6 with CMake 3) Learn *how* you would to go out and find the solution (instead of monkey see, monkey do) for each specific problem at hand and then shows you what his solution was. The other benefit of having a structured course like this aside from learning it in an effective way, is that this course can easily be used as a reference for looking things up in the future as a complement to Qt's own documentation. Finally I want to say, if teaching method could be expressed as a coding design pattern with like SOLID, SRP etc., Bryan has nailed it down with this one :) (if those two abbreviations are unfamiliar to you, please have a look at Bryan's Qt Design Patterns course ;) )

Coupons

DateDiscountStatus
1/13/2021100% OFF
expired
2/4/2021100% OFF
expired
2/11/2021100% OFF
expired

Charts

Price

Migrating to Qt 6 - Price chart

Rating

Migrating to Qt 6 - Ratings chart

Enrollment distribution

Migrating to Qt 6 - Distribution chart

Related Topics

3770334
udemy ID
1/12/2021
course created date
1/13/2021
course indexed date
Angelcrc Seven
course submited by