Qt Qml WorkerScript
QmlのWorkerScript モジュールを使用すると、Qt Quick アプリケーション内でスレッドを利用できるようになります。
WorkerScript を使用して、新しいスレッドで操作を実行します。これは、メインの GUI スレッドがブロックされないように、バックグラウンドで操作を実行するのに役立ちます。
WorkerScript は、新しいスレッドと親スレッド間のメッセージの受け渡しをサポートしています。
このモジュールの型を使用するには、次の行でモジュールをインポートしてください:
import QtQml.WorkerScriptAPI リファレンス
ライセンス
Qt Qml WorkerScript は、The Qt Company からの商用ライセンスの下で提供されています。さらに、GNU Lesser General Public License バージョン 3 またはGNU General Public License バージョン 2 の下でも利用可能です。詳細については、「Qt ライセンス」を参照してください。
© 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.