Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
QML for Beginners
Rating: 4.6 out of 5(1,494 ratings)
18,798 students

QML for Beginners

Cross platform GUI application development on windows, mac and linux using QML, Qt 5, JavaScript and C++
Created byBryan Cairns
Last updated 7/2022
English
German [Auto],English [Auto],

What you'll learn

  • QML for Qt 5 and 6
  • QML Language
  • Qt Quick
  • Items
  • Rectangles
  • Components
  • Anchors
  • Positioning
  • Transformations
  • Basic States
  • Layouts
  • Columns
  • Rows
  • Grids
  • Flexes
  • Absolute Positioning
  • Swipe View
  • Page View
  • List View
  • Custom Components
  • Properties
  • Bindings
  • Connections
  • Signals and Slots
  • Property Animations
  • Opacity Animations
  • Rotation Animations
  • Scale Animations
  • Sequential Animations
  • Parallel Animations
  • Qt Quick Controls
  • Model Views and Delegates
  • Pages
  • Passing Properties
  • Drag and Drop
  • Example Applications
  • Javascript basics
  • Inline JavaScript
  • Javascript bindings
  • External Javascript
  • C++ Integration
  • C++ Root Context
  • Registering C++ classes in QML
  • Calling C++ Slots from QML Signals
  • Calling QML Slots from C++ Signals
  • Image viewers
  • Text Editors
  • Data Converters
  • Number Generators
  • Common issues and solutions

Course content

13 sections106 lectures13h 43m total length
  • What this course covers3:24
  • Versions - Qt 5 vs Qt 60:51
  • What this course does not cover1:55

    This course covers the basics of QML for beginners. It does not cover C++ prerequisites, deep Android or iOS topics, or advanced animations, storage, and networking.

  • QML vs Qt Quick5:03

    Clarify how QML and Qt Quick relate, with QML as the user interface atop C++ or Python backends, using signals and slots, bindings, and JavaScript interfaces.

  • QML limitations3:32

    Explore QML limitations by understanding its GUI strengths and the challenges of non-graphical use. Assess platform support across desktop, embedded, and webassembly to decide where QML fits best.

  • What can you make with QML3:08

    Explore what you can build with QML through complete source-code examples in Qt Creator, including 3D planets, charts, and cross-device apps.

  • Qt5 vs Qt62:15

    Explore Qt5’s de facto status as Qt6 nears, with long-term Qt5 support and potential breaking changes, plus backward compatibility concerns for 3D workflows in Blender and Maya.

  • QML vs Qt Widgets2:09

    Compare QML and Qt widgets, showing that cute widgets deliver native desktop look and tight C++ integration, while QML enables cross-platform desktop, mobile, and embedded apps with smooth animations.

  • Write once build anywhere1:46

    Explore the write once, build anywhere principle in QML, showing how to write code once and test on Windows, Mac, and Linux, with notes on cross-compile and remote deployment.

  • Section 1 - Quiz

Requirements

  • Qt Core
  • C++ Beginners
  • Qt 5

Description

Write once, build anywhere – Qt runs on virtually anything. You probably have applications built with Qt running on your computer, smart phone, television, and other electronics.


This course targets Qt5 but is mostly compatible with Qt6 - I am in the process of recording the Qt6 material, anyone owning this course will get a free upgrade to the Qt6 version.


No experience with QML necessary, this is a beginners course that will teach you the foundations QML cross platform development. QML runs anywhere from desktops (windows, mac, linux) to cellphone, and embedded devices.

We will start with a short introduction to QML, and then rapidly move on to more complex topics such as layouts, properties and animations.

This course is specifically designed for Qt 5 with the QML beginner in mind. These videos take you from knowing nothing about QML to creating intermediate level applications using QML, JavaScript and C++. These videos build on the popular Qt Core series available on Udemy. These videos show many best practices and how to overcome common mistakes. About the author: Bryan has created  hundreds of Qt tutorials available on YouTube and has created official Qt training videos for the Qt Company. Full source code available on GitHub, and runs a Facebook community with thousands of developers that can offer free help 24x7.

Highly recommended that you have a strong foundation in Qt Core before attempting this course - fear not, I have other courses available on Udemy:

Qt 5 Core Beginners

Qt 5 Core Intermediate

Qt 5 Core Advanced

Who this course is for:

  • Anyone wanting to learn the basics of QML using Qt 5
  • Students continuing from Qt Core