Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Qt 5 QML Advanced : Interfacing to C++
Rating: 4.5 out of 5(394 ratings)
3,766 students

Qt 5 QML Advanced : Interfacing to C++

Use Custom C++ Models in QML, Build your own Visual C++ QML Types, Use Singletons and Dig Deep Through QML from C++
Created byDaniel Gakwaya
Last updated 9/2025
English

What you'll learn

  • Working with Custom C++ Models in QML
  • Building Custom C++ Visual Types and using them in QML
  • Using your C++ Classes as Singletons in QML
  • Digging through the QML tree and manipulating elements from C++

Course content

6 sections43 lectures6h 31m total length
  • Important notice: PLEASE READ!0:22
  • Introduction8:41
  • Get Help (Fast)0:53
  • C++ Models in QML : An Introduction1:07
  • String List Model From C++4:18
  • Join the Official Support Channels0:58
  • Object List Model From C++11:48
  • Editable Object List Model Demo21:38
  • Editable Object List Model Demo : QPROPERTY11:28
  • Convenience Models : Comparison & Review2:32
  • Abstract Item Model From C++ : Concepts6:21

    Talks about the requirements, overrides and their importance. Try to show all this in ppt slides as clear as possible.

  • Abstract Item Model From C++ : Building the Model17:02
  • Abstract Item Model From C++ : Using the Model in Qt Quick11:17
  • Decoupling Data Source and Model25:16
  • Using Object List Properties19:33
  • C++ Models in QML : Recap1:52

Requirements

  • Basic Knowledge of Qt C++
  • Basic Knowledge of Qt Quick
  • Basic Knowledge to Interface C++ to QML
  • The latest Version of Qt and Qt Creator
  • Open mind and willingness to learn

Description

Important note : There is an update of this  course to Qt 6. If  you're just starting out, that's what you should take. Take this if you have a specific reason to target Qt 5.

You already know quite a bit about Qt , C++ and Qt Quick and looking to learn about cool advanced features like Custom C++ Models in QML, Custom C++ Visual types in QML and more cool features. If that's the case then this is the course for you. This course will hit 4 critical points in advanced tricks to interface your C++ to QML .

  • Building your own Custom C++ Models in C++ and using them in QML

  • Building your own C++ Visual Types and using them in QML

  • Using C++ Types as Singletons in QML

  • Digging Deep in the QML tree and manipulating your QML Elements from C++

Along the course we'll touch on lots of best practices to make your C++ and QML Code and APIs much more readable, user friendly and maintainable. The course is packed with lots of examples and demos to make your learning experience as pleasant as possible. If you' re looking to push your skills in Interfacing Qt C++ to QML to the next level, this course will get you up to speed in shortest amount of time possible.

Qt is the platform choice for thousands of software projects. Both Open source and commercial and is used by some of the most successful companies on the planet.

If you want to build Fluid, Dynamic and Cross Platform User Interfaces, that can run on virtually anything out there, and take advantage of the powerful features like the Model View Framework and the fancy Qt Painting and Drawing API and more, Qt is second to none in that regard.Please check out some of the preview videos, and lets get you STARTED using Advanced tricks in connecting your C++ to QML.

Who this course is for:

  • Anyone willing to learn to use Custom C++ Models in QML
  • Anyone willing to learn to build Custom C++ Visual Types and use them in QML
  • Anyone willing to learn how to use C++ Classes as Singletons in QML
  • Anyone willing to learn how to traverse the QML element tree structure and manipulate elements from C++