- Qt 6.11
- Qt Core
- Qt Core Examples
- Qt 6.11.1 Reference Documentation

# Qt Core Examples

To learn how to use features of the Qt Core module, see examples:

Bindable Properties | Demonstrates how the usage of bindable properties can simplify your C++ code.
Calendar Backend Plugin Example | QCalendar example illustrating user-supplied custom calendars.
Contiguous Cache Example | The Contiguous Cache example shows how to use QContiguousCache to manage memory usage for very large models. In some environments memory is limited and, even when it isn't, users still dislike an application using excessive memory. Using QContiguousCache to manage a list, rather than loading the entire list into memory, allows the application to limit the amount of memory it uses, regardless of the size of the data set it accesses.
IPC: Shared Memory | Demonstrates how to share image data between different processes using the Shared Memory IPC mechanism.
Local Fortune Client | Demonstrates using QLocalSocket for a simple local service client.
Local Fortune Server | Demonstrates using QLocalServer and QLocalSocket for serving a simple local service.
MIME Type Browser | Shows the hierarchy of MIME types and can be used to determine the MIME type of a file.
Mandelbrot | The Mandelbrot example demonstrates multi-thread programming using Qt. It shows how to use a worker thread to perform heavy computations without blocking the main thread's event loop.
Parsing and displaying CBOR data | A demonstration of how to parse files in CBOR format.
Producer and Consumer using Semaphores | The Producer and Consumer using Semaphores example shows how to use QSemaphore to control access to a circular buffer shared by a producer thread and a consumer thread.
Producer and Consumer using Wait Conditions | The Producer and Consumer using Wait Conditions example shows how to use QWaitCondition and QMutex to control access to a circular buffer shared by a producer thread and a consumer thread.
QXmlStream Bookmarks Example | Demonstrates how to read and write XBEL files.
Qt for Android Notifier | Demonstrates calling Java code from Qt in an Android application.
Queued Custom Type | The Queued Custom Type example shows how to send custom types between threads with queued signals and slots.
Saving and Loading a Game | How to save and load a game using Qt's JSON or CBOR classes.
Serialization Converter | How to convert between different serialization formats.