Qt 4.8: Threading and Concurrent Programming Examples

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# Threading and Concurrent Programming Examples

Qt 4 makes it easier than ever to write multithreaded applications. More classes have been made usable from non-GUI threads, and the signals and slots mechanism can now be used to communicate between threads.

Additionally, it is now possible to move objects between threads.

- Queued Custom Type*
- Mandelbrot*
- Semaphores*
- Wait Conditions*

The QtConcurrent namespace includes a collection of classes and functions for straightforward concurrent programming.

These examples show how to apply the basic techniques of concurrent programming to simple problems.

- QtConcurrent Asynchronous Image Scaling
- QtConcurrent Map
- QtConcurrent Progress Dialog
- QtConcurrent Run Function
- QtConcurrent Word Count

Examples marked with an asterisk (*) are fully documented.