Qt Quick And Qml - Intermediate (Qt 5) : Interfacing To C++
Last updated 6/2020
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 4.43 GB | Duration: 5h 43m
Last updated 6/2020
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 4.43 GB | Duration: 5h 43m
Connect Your Fluid and Dynamic Qt Quick(QML) User Interface to a Powerful C++ Back End
What you'll learn
Interfacing Qt Quick and QML to C++
Building your own QML Types
Requirements
The student should come with a fair knowledge about the C++ side of Qt
The student should have a fair knowledge about Qt Quick and QML
Should have the latest version of Qt and Qt Creator Installed on your PC or Mac
Description
Special note : This course is based on Qt 5. Qt 6, released in December 2020 is the latest version. We are working on updates to take Qt 6 into account that will be completed over the next couple of months. In the mean time, we recommend using Qt 5 for the best experience with the course.Qt Quick is the latest and greatest User Interface design technology from the Qt Framework. It is best known and used to build Fluid, Dynamic and cross platform user interfaces, that can run on Windows,Mac,Linux,Android,IOS and even embedded devices.Qt Quick User interfaces can be easily extended or interfaced with a powerful C++ back end. Allowing you to take full advantage of what Qt has to offer.This course will teach you various key techniques you need to know to make your powerful C++ back end and your shinny fluid Qt Quick User interface work together in one single piece of software product.You will be exposed to different facilities at your disposal in the Qt framework.Those will help you write Qt code in the recommended way. That is building fluid an eye catching UI in QML and connecting it a a powerful C++ code base for heavy operations.The ideal student for the course is someone who already knows their way around both the C++ side of Qt and Qt Quick ; and is willing to learn how the two sides can communicate.So if you are rusty on either Qt C++ or Qt Quick(QML), please learn the basics first. If in doubt, do check my previous courses on both Qt C++ and Qt Quick.You will take advantage of lots of straight to the point and easy to understand lectures, most of them backed by engaging demos for you to try out the concepts on your own right away.If you're looking to learn how you can get your Qt C++ and QML code bases to connect and talk to each other, this course will get you up and running in the shortest amount of time possible.The course starts right away getting your hands dirty doing things like Calling C++ methods from QML,Calling Javascript/QML methods from C++, Using Q_PROPERTY mechanism to propagate properties and changes between C++ and QML and more.You then get to take a comprehensive look at how your data is transformed when you juggle it between QML and C++. Next we do a live demo; a REST API client that downloads data in C++ and feeds the data to Qt Quick for display. The course then dives in one of the most interesting topics of registering a type in C++ to be used and instantiated in Qt Quick. This will allow you to create your own QML types like Person, Car, Tomato,… On top of that you'll also learn how to make your own QML Apis more readable and usable by incorporating features like Object and List Properties,Default Properties, Attached Properties and Property Value Sources.Qt is the platform choice for thousands of software projects and used by some of the most successful companies on the planet today. Learning how to make your C++ talk to your shiny Qt Quick UI will unlock the door to really using Qt the way it should be used today. Leveling up your skills as a Qt Developer.Please check out some of the preview videos, and lets get you STARTED connecting your powerful C++ back end to a Dynamic and Fluid Qt Quick User Interface.
Overview
Section 1: Introduction : Dive In
Lecture 1 Welcome
Lecture 2 Calling C++ from QML : ContextProperty
Lecture 3 Join the Official Support Channels
Lecture 4 Connections : A Flexible way to connect QML signals and slots
Lecture 5 Connecting C++ Signal to QML Slot
Lecture 6 QPROPERTY : Map C++ Objects to QML Elements
Lecture 7 Exposing C++ Data as Context Objects
Lecture 8 Calling JS Function from C++
Lecture 9 Dive In : Section Recap
Section 2: Data Conversion between QML and C++
Lecture 10 Data Conversion Between QML and C++ : An Introduction
Lecture 11 Basic Qt Data Types
Lecture 12 Other Qt Types and C++: String Date Number
Lecture 13 Other Qt Types (Contd): String,Date and Number Localization
Lecture 14 Sequence Types to JS Arrays
Lecture 15 QVariantList and QVariantMap to JS Array and Object
Lecture 16 Data Conversion : Recap
Section 3: Challenge : REST Api Client V1, Feeding Raw C++ Data to QML
Lecture 17 Fetch Rest APIs : Challenge Overview
Lecture 18 Getting the Data
Lecture 19 Feeding the Data to QML
Lecture 20 Fetch Rest APIs : Recap
Section 4: Custom Non Visual Types
Lecture 21 C++ Custom Types : An Introduction
Lecture 22 Defining Custom C++ Types for use in QML(Counter Demo)
Lecture 23 Making use of C++ enums
Lecture 24 Counter Demo : Enum Version
Lecture 25 Object And List Property Types Part1 : Concepts
Lecture 26 Object And List Property Types Part2 : Get your Hands Dirty
Lecture 27 Working with Inherited Types
Lecture 28 Default Properties
Lecture 29 Grouped Properties
Lecture 30 Attached Properties
Lecture 31 Property Value Sources
Lecture 32 So Many Registration Types : Which one for What ?
Lecture 33 C++ Custom Types : Recap
Section 5: Farewell, Next Steps and BONUS
Lecture 34 Farewell, Next Steps
Lecture 35 BONUS -Course List : Discounted!
Anyone willing to learn what it takes to interface QML to C++