summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/threads
diff options
context:
space:
mode:
authorLars Knoll <[email protected]>2012-02-03 14:17:26 +0100
committerQt by Nokia <[email protected]>2012-02-05 17:49:16 +0100
commit96501b0a18f4f70048403dccc4cb42dd71db8f9d (patch)
treeec4b95139854d1116ad75467c3c08df39fafeb27 /examples/tutorials/threads
parentc8156cab81690526adffa22214657fc1c6563b8b (diff)
Move QtConcurrent into its own module
Task-number: QTBUG-20892 Change-Id: I614500aafb6428915509983608bbb0ade4e4f016 Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'examples/tutorials/threads')
-rw-r--r--examples/tutorials/threads/helloconcurrent/helloconcurrent.cpp2
-rw-r--r--examples/tutorials/threads/helloconcurrent/helloconcurrent.pro1
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/tutorials/threads/helloconcurrent/helloconcurrent.cpp b/examples/tutorials/threads/helloconcurrent/helloconcurrent.cpp
index fb8f55db94d..02aed98c1dc 100644
--- a/examples/tutorials/threads/helloconcurrent/helloconcurrent.cpp
+++ b/examples/tutorials/threads/helloconcurrent/helloconcurrent.cpp
@@ -39,6 +39,8 @@
****************************************************************************/
#include <QtCore>
+#include <QtConcurrent>
+
/*
says hello from main thread and secondary thread using QtConcurrent
*/
diff --git a/examples/tutorials/threads/helloconcurrent/helloconcurrent.pro b/examples/tutorials/threads/helloconcurrent/helloconcurrent.pro
index fb3cd0b3947..19416667556 100644
--- a/examples/tutorials/threads/helloconcurrent/helloconcurrent.pro
+++ b/examples/tutorials/threads/helloconcurrent/helloconcurrent.pro
@@ -1,4 +1,5 @@
QT -= gui
+QT += concurrent
CONFIG += console
CONFIG -= app_bundle