Qt QML ワーカースクリプト
QmlWorkerScript モジュールを使うと、Qt Quick アプリケーションでスレッドを使うことができます。
新しいスレッドで処理を実行するにはWorkerScript を使います。これは、メイン GUI スレッドがブロックされないように、バックグラウンドで処理を実行するのに便利です。
WorkerScript は新しいスレッドと親スレッド間のメッセージの受け渡しをサポートしている。
このモジュールの型を使用するには、次の行でモジュールをインポートします:
import QtQml.WorkerScript
APIリファレンス
ライセンス
Qt Qml WorkerScript は、The Qt Company から商用ライセンスで入手できます。また、GNU Lesser General Public License, version 3 またはGNU General Public License, version 2 の下でも利用可能です。詳細はQt Licensingを参照してください。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.