Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qmlworkerscript.qdoc
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5 \qmlmodule QtQml.WorkerScript
6 \title Qt Qml WorkerScript QML Types
7 \ingroup qmlmodules
8 \brief Provides QML types for worker scripts.
9 \since 5.14
10
11 This QML module contains types for using worker scripts.
12
13 To use the types in this module, import the module with the following line:
14
15 \qml
16 import QtQml.WorkerScript
17 \endqml
18*/
19
20/*!
21
22 \title Qt QML WorkerScript
23 \page qmlworkerscript-index.html
24
25 The Qml WorkerScript module enables the use of threads in a Qt Quick
26 application.
27
28 Use WorkerScript to run operations in a new thread. This is useful for
29 running operations in the background so that the main GUI thread is not
30 blocked.
31
32 The WorkerScript supports passing messages between the new thread and the
33 parent thread.
34
35 To use the types in this module, import the module with the following line:
36
37 \qml
38 import QtQml.WorkerScript
39 \endqml
40
41 \section1 API Reference
42
43 \list
44 \li \l {Qt QML WorkerScript QML Types}
45 \endlist
46
47*/