
Discover the 'write once compile anywhere' principle with cute, and explore using cute creator to develop software that you can compile on Linux, Windows, Mac, Android, and iOS.
Compare open source and commercial Qt licenses, understand LGPL v3 obligations, and avoid static compilation by using dynamic libraries; download and install across platforms.
Install Qt 5 core with the installer on Linux, Windows, or Mac. Make the installer executable on Linux and choose components like desktop 64 bit, Android x86/arm, web engine.
Explore the cute creator IDE and its project types, including a cute widgets application, a console application, and cute quick with QML. See how libraries, examples, and tutorials support development.
Set up a new Qt 5 core for beginners console project with cmake and a desktop kit. Create a hello world program using int main and qInfo to print.
Explore the history and power of C++, a general-purpose language with imperative, object-oriented, and generic features, plus low-level memory access and an evolving standard library from 98 to 2011.
Set up a cute cplusplus console project and inspect project file and main.cpp to understand the build flow from source to executable. Learn debug versus release builds and clean/rebuild workflow.
Distinguish C++ code from Qt libraries by recognizing q-prefixed classes, and note when the standard library is used; consult Qt references and manuals for class naming.
Learn how C++ comments document code without affecting execution, covering single-line and multi-line styles, self-documenting code, and using Doxygen to generate documentation.
Understand coding styles in C++, including single-line and multi-line comments, and safely comment out code chunks. Compare Google, Microsoft, and Qt standards to pick one you’re comfortable with.
Learn how to declare and use variables in C++, understand data types like bool, differentiate between variable names and values, and apply the assignment operator to update values.
Discover c++ data types, including integers, characters, floating points, void, and wide character, and see how signed, unsigned, short, and long modifiers affect memory usage, ranges, and embedded devices.
Learn how const marks a value as a read-only constant that never changes, illustrated by a const id and the pi value of 3.14.
Learn how enums define a new type, using a color enum with red, green, and blue to display default zero-based values and customizable underlying numbers.
Discover how a struct groups data elements under one name into a single data type with members like weight, value, and color, including default value and memory sizing.
Explore arrays in c++, comparing built-in arrays and std::array, with zero-based indexing and memory layout, and learn about size versus size of, indexing, and staying within bounds to avoid errors.
Learn to print with cout and standard output in c++, using iostream and std, and endl. Compare cout to Qt's qDebug and note standard input and standard error.
Learn standard input in c++, including iostream, cin and cout, using namespace std, and reading an age, noting default zero and how non-numeric input yields zero without error handling.
Compare cout and cerr in C++, and see how both produce output but route it differently under the hood, possibly into application or error logs and varying by terminal colors.
Contrast QDebug with cout and use info, debug, critical, and fatal to control output, diagnose issues, and halt the program for invalid input in a simple Qt C++ example.
Master flow control in C++ by using if statements, boolean logic, and scope blocks, while distinguishing assignment from equality and exploring input-driven age logic and fatal handling.
Explore how if, else and else if control flow operate in c++ with an age-based example, showing how conditions evaluate and which blocks run.
Explore the ternary operator in C++, a compact if-else using ? and : to evaluate conditions like age, printing 'valid age' when true and 'fatal' when false.
Explore how the switch statement in C++ evaluates an age variable, using cases, default, and break to control flow, and learn about fall through.
Compare while and do-while loops in C++, showing infinite loops from lack of increment, zero-based ten-iteration behavior, and the evaluation order difference.
Explore how the for loop initializes i to zero, checks i < max, and increments each pass. See it iterates a standard library array with zero-based indexing to print elements.
Learn how functions segment code, with the main function as the starting point, and see how a function must be declared before use and how includes affect visibility.
Explore functions and parameters, including void and int return types, and see how calc calls dog ears and cat ears using user input for age to demonstrate flow control.
Examine function flow control with conditional checks and range validation to guard against invalid input, compare one line and multi line if usage, and test with invalid age and range.
Explore overloading in C++, using the same function name for different parameter types and signatures. See how the compiler selects a version and why overloads can be useful yet risky.
Understand pass by value versus pass by reference with practical tests, showing copies versus the exact object. Explore scope with brackets and distinguish references from pointers.
Learn how a class serves as a blueprint for objects, create an animal class with header and implementation files, and explore inheritance, preprocessor directives, signals and slots.
Learn how constructors and destructors manage object life cycles and memory in Qt objects, including the this pointer and parent-child destruction. Discover why passing by reference prevents copying.
Explore inheritance in Qt 5 Core for Beginners with C++. Build an animal hierarchy and observe constructor order, then examine multiple inheritance ambiguity and the role of interfaces.
Explore how interfaces differ from inheritance in C++ by using pure virtual functions as a contract, and implement them in an appliance class that combines freezer, microwave, and toaster behaviors.
Learn how to override a base class function in C++, using feline and lion to show meow and roar, and calling the base speak with scope resolution.
Explore scope in c++, learn how variables exist within blocks, and how by value creates copies while by reference shares the same memory location across scopes.
Explore scope in classes by building an animal object and observing how the scope operator and default parameters influence member versus parameter names.
Explore how the static keyword makes a variable exist in every instance and in the global scope. Avoid global variables; place code in a class and instantiate objects as needed.
Understand how static variables are shared by all class instances, learn how to define them correctly outside the class, and recognize why avoiding static and global variables prevents scope errors.
Explore pointers in C++ and learn how stack and heap memory work, how pointers reference heap memory with the arrow operator, and how memory management differs between stack and heap.
Master pointers in C++, linking stack-allocated variables to heap-allocated data, with explanations of * and &, by value and by reference, and why delete prevents dangling pointers.
Understand why pointers avoid costly data copies and speed up programs handling large data, then learn pointer memory management and deletion in C++.
Explore memory management with a Qt parent–child relationship, creating parent and child objects, using destructors to see lifecycles, and understanding how deleting the parent affects the child.
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.
No experience necessary, this is a beginners course that will teach you the foundations of both Qt 5 and C++. This course is meant as a direct replacement for an introduction to C++ class. This course starts off with simple topics such as "what is a variable" and ends with some basic Qt classes and how to work with them. The main focus of this course is to get the student a solid foundation to move forward from. At the end of this course you will be able to create basic applications using C++ and Qt 5. This course overs Qt 5. Because Qt 6 has so many changes, I will re-record these lessons using Qt 6 and place them into a different course, check my instructor profile for updates.
We will start with basic foundational concepts such as variables and each section moves into more complex topics such as templates, classes, error handling and how to use some of the Qt 5 classes includes in the core library. This course uses C++ and Qt Creator which is the best IDE for developing cross platform applications using Qt that can run on Windows, Mac, Linux, embedded devices such as a raspberry pi, iPhone and Android.
This is the starting point for all other Qt 5 courses on that are available on Udemy.
Qt 5 Core Intermediate
Qt 5 Core Advanced
Qt 5 Widgets
Qt 5 QML
Qt 5 Design Patterns