de5e0422ca
This example shows how to use QtConcurrent::run by calling a global function and printing the thread ID. As the documentation already explains the functionality very well, I don't think this example is necessary. https://doc.qt.io/qt-6/qtconcurrentrun.html Task-number: QTBUG-111165 Pick-to: 6.5 6.5.0 Change-Id: I42a718cdaabdaeeab39b933d12c67d11978c95da Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
12 lines
291 B
CMake
12 lines
291 B
CMake
# Copyright (C) 2023 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
if(NOT TARGET Qt6::Concurrent)
|
|
return()
|
|
endif()
|
|
if(TARGET Qt6::Widgets)
|
|
qt_internal_add_example(imagescaling)
|
|
qt_internal_add_example(progressdialog)
|
|
qt_internal_add_example(wordcount)
|
|
endif()
|