Demonstrates how the usage of bindable properties can simplify your C++ code.
core
corelib/bindableproperties/bindablesubscription/main.cpp
Data Processing & I/O
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.
core,ios
corelib/tools/contiguouscache/main.cpp
Data Processing & I/O
Demonstrates how to share image data between different processes using the Shared Memory IPC mechanism.
core
corelib/ipc/sharedmemory/main.cpp
Data Processing & I/O
Demonstrates using QLocalSocket for a simple local service client.
core
corelib/ipc/localfortuneclient/main.cpp
Connectivity
Demonstrates using QLocalServer and QLocalSocket for serving a simple local service.
core
corelib/ipc/localfortuneserver/main.cpp
Connectivity
Shows the hierarchy of MIME types and can be used to determine the MIME type of a file.
core
corelib/mimetypes/mimetypebrowser/main.cpp
Data Processing & I/O
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.
core
corelib/threads/mandelbrot/main.cpp
Data Processing & I/O
A demonstration of how to parse files in CBOR format.
core,network
corelib/serialization/cbordump/main.cpp
Data Processing & I/O
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.
core
corelib/threads/semaphores/semaphores.cpp
Data Processing & I/O
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.
core
corelib/threads/waitconditions/waitconditions.cpp
Data Processing & I/O
Demonstrates how to read and write XBEL files.
core,network
corelib/serialization/streambookmarks/main.cpp
Data Processing & I/O
Demonstrates calling Java code from Qt in an Android application.
android,core,notification,widgets
corelib/platform/androidnotifier/main.cpp
The Queued Custom Type example shows how to send custom types between threads with queued signals and slots.
core,ios
corelib/threads/queuedcustomtype/main.cpp
Data Processing & I/O
How to save and load a game using Qt's JSON or CBOR classes.
core
corelib/serialization/savegame/main.cpp
Data Processing & I/O
How to convert between different serialization formats.
core,network
corelib/serialization/convert/main.cpp
Data Processing & I/O