
Explore QPointer, a templated smart pointer in Qt 5, wrapping a QObject-based widget. See how deleting the heap pointer affects access and how the pointer stays safe.
Explore QSet, a templated Qt generic container that stores values in unspecified order for fast lookups, with contains checks and for-each iteration, noting that order is not guaranteed.
Discover how the QBuffer provides a Kuzio device interface to a byte array, enabling read and write, opening with a mode, seeking, reading all, and closing the buffer.
Compare QDataStream and QTechStream in Qt 5 core, write a banner and random numbers to a file, and understand how text streams differ from encoded data.
Install a custom Qt message handler to intercept info, debug, warning, and fatal messages, format them with timestamp, file and line, and write to a log file for debugging.
Explore utf-8 encoding and Unicode support in Qt, demonstrating how ascii expands into Unicode and how to handle multilingual text in C++ applications.
Learn to represent data in hex in Qt 5 Core Intermediate with C++, compare hex to Base64, and understand a contract for encoding and decoding.
Learn how Qt 5 core intermediate demonstrates data compression using qCompress and qUncompress, building data, compressing, uncompressing, and comparing original versus compressed sizes to reveal efficiency.
Explore creating a custom, header-based compression system in Qt 5 Core that processes large files in 1 kb chunks to compress and decompress data.
Explore serialisation by writing Qt objects to disk with QDataStream and QFile, including versioning, saving a string and an int, and reading them back reliably.
Learn to serialize objects to XML in Qt 5 core with C++. Implement XML read and write using QXmlStreamWriter and QXmlStreamReader, with start document, root element, and item attributes.
Learn why qFill is deprecated and how to replace it with the standard library fill or QVector, ensuring compatibility across C++ by using familiar containers and algorithms.
Discover how to use QProcess to start external programs, pass arguments, write to and read from them, and manage data exchange for tasks like compression.
Learn how to execute external processes in Qt 5 Core with C++, interpret exit codes, and distinguish zero (success) from non-zero errors for robust control flow.
This is not a beginners course! This is the second course in the Qt 5 series, and is a follow up to the Qt 5 Core for beginners course. It is highly recommended you complete that course first! There are not a lot of intermediate courses, the goal of this one is to bridge the gap between beginners and advanced programmers.This course continues on to teach the student the core classes in 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.
Qt core for intermediate programmers covers
Smart Pointers
QSettings
QIODevice
QFile & QDIR
qCompress
Encoding
Serialization
Design patterns
And much more