qtbase/examples/qtconcurrent
Ahmad Samir 11f94598da Replace qdebug.h includes in public headers with forward-declarations
qdebug.h includes many Qt and STL headers, so if you include a Qt header
you get all those transitive includes, which may affect build time.

- Where appropriate use the printf-like syntax of qDebug() and co.,
  these don't need the QDebug streaming operators
- qfloat16 is used in an inline member function, so include it
  explicitly

[ChangeLog][Potentially Source Incompatible Changes] Various Qt public
headers don't include QDebug any more; if you need QDebug's streaming
you'll have to include it in your code.

Task-number: QTBUG-132439
Change-Id: I750587e17a3b38fa226cd3af8eaccc8da580f436
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 185cba6e95)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-15 11:28:28 +00:00
..
imagescaling CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
primecounter CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
wordcount Replace qdebug.h includes in public headers with forward-declarations 2025-01-15 11:28:28 +00:00
CMakeLists.txt Correct license for examples files 2024-03-07 11:06:43 +01:00
README
qtconcurrent.pro Example: rename progressdialog to primecounter and modernize it 2023-03-21 11:19:42 +01:00

README

Qt 4 extends Qt's support for multithreaded applications with an API for
concurrent programming which includes implementations of the well-known
map-reduce and filter-reduce algorithms.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.