8352756d27
The previous example finished way too quickly and provided no real value in regards to API understanding. Previously, QtConcurrent::map was used, which was also used in other examples. We are now using QtConcurrent::filterReduce to demonstrate other functionality. Task-number: QTBUG-111165 Pick-to: 6.5 6.5.0 Change-Id: Ibd6eb119d0711cddfe8b211d460e9d67d6ce95c3 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
10 lines
199 B
Prolog
10 lines
199 B
Prolog
QT += concurrent widgets
|
|
|
|
SOURCES += main.cpp primecounter.cpp
|
|
HEADERS += primecounter.h
|
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtconcurrent/primecounter
|
|
INSTALLS += target
|
|
|
|
FORMS += primecounter.ui
|