Qt Quick and QML - Intermediate : Interfacing to C++
4.5 (256 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,504 students enrolled

Qt Quick and QML - Intermediate : Interfacing to C++

Connect Your Fluid and Dynamic Qt Quick(QML) User Interface to a Powerful C++ Back End
4.5 (256 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,503 students enrolled
Created by Daniel Gakwaya
Last updated 6/2020
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 5.5 hours on-demand video
  • 2 articles
  • 19 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Interfacing Qt Quick and QML to C++
  • Building your own QML Types
Course content
Expand all 35 lectures 05:43:49
+ Introduction : Dive In
9 lectures 01:36:04
Join the Official Support Channels
Connections : A Flexible way to connect QML signals and slots
Connecting C++ Signal to QML Slot
QPROPERTY : Map C++ Objects to QML Elements
Exposing C++ Data as Context Objects
Calling JS Function from C++
Dive In : Section Recap
+ Data Conversion between QML and C++
7 lectures 01:07:36
Data Conversion Between QML and C++ : An Introduction
Basic Qt Data Types
Other Qt Types and C++: String Date Number
Other Qt Types (Contd): String,Date and Number Localization
Sequence Types to JS Arrays
QVariantList and QVariantMap to JS Array and Object
Data Conversion : Recap
+ Challenge : REST Api Client V1, Feeding Raw C++ Data to QML
4 lectures 37:01
Fetch Rest APIs : Challenge Overview
Getting the Data
Feeding the Data to QML
Fetch Rest APIs : Recap
+ Custom Non Visual Types
13 lectures 02:16:41
C++ Custom Types : An Introduction
Defining Custom C++ Types for use in QML(Counter Demo)
Making use of C++ enums
Counter Demo : Enum Version
Object And List Property Types Part1 : Concepts
Object And List Property Types Part2 : Get your Hands Dirty
Working with Inherited Types
Default Properties
Grouped Properties
Attached Properties
Property Value Sources
So Many Registration Types : Which one for What ?
C++ Custom Types : Recap
+ Farewell, Next Steps and BONUS
2 lectures 06:26
Farewell, Next Steps
BONUS -Course List : Discounted!
  • 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

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.

Who this course is for:
  • Anyone willing to learn what it takes to interface QML to C++