이 페이지에서

Qt QML WorkerScript

Qml WorkerScript 모듈을 사용하면 Qt Quick 애플리케이션에서 스레드를 사용할 수 있습니다.

새 스레드에서 작업을 실행하려면 WorkerScript 을 사용합니다. 이는 메인 GUI 스레드가 차단되지 않도록 백그라운드에서 작업을 실행하는 데 유용합니다.

WorkerScript 은 새 스레드와 부모 스레드 간에 메시지 전달을 지원합니다.

이 모듈의 유형을 사용하려면 다음 줄과 함께 모듈을 임포트하세요:

import QtQml.WorkerScript

API 참조

라이선스

Qt Qml WorkerScriptThe Qt Company의 상용 라이선스에 따라 제공됩니다. 또한 GNU 약소 일반 공중 사용 허가서 버전 3 또는 GNU 일반 공중 사용 허가서 버전 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.