diff options
Diffstat (limited to 'src/concurrent/qtconcurrentrun.cpp')
| -rw-r--r-- | src/concurrent/qtconcurrentrun.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/concurrent/qtconcurrentrun.cpp b/src/concurrent/qtconcurrentrun.cpp index 513699cdc5d..4217fbf8185 100644 --- a/src/concurrent/qtconcurrentrun.cpp +++ b/src/concurrent/qtconcurrentrun.cpp @@ -23,6 +23,18 @@ This function is a part of the Qt Concurrent framework. + \section1 Optimize includes + + If you include the \c <QtConcurrent> header, the entire Qt Concurrent + module with the entire Qt Core module will be included, which may increase + compilation times and binary sizes. To use the + \l {QtConcurrent::run}{QtConcurrent::run()} function, you can include a + more specific header: + + \code + #include <QtConcurrentRun> + \endcode + \section1 Concurrent Run (basic mode) The function passed to QtConcurrent::run() may report the result |
