Qt QML WorkerScript | Qt 6.10

- Qt 6.10
- Qt QML WorkerScript
- Qt 6.10.3 Reference Documentation

# Qt QML WorkerScript

The Qml WorkerScript module enables the use of threads in a Qt Quick application.

Use WorkerScript to run operations in a new thread. This is useful for running operations in the background so that the main GUI thread is not blocked.

The WorkerScript supports passing messages between the new thread and the parent thread.

To use the types in this module, import the module with the following line:

     import QtQml.WorkerScript

## API Reference

- Qt QML WorkerScript QML Types

## Licenses

Qt Qml WorkerScript is available under commercial licenses from The Qt Company. In addition, it is available under the GNU Lesser General Public License, version 3, or the GNU General Public License, version 2. See Qt Licensing for further details.