void QML Value Type

빈 값 유형입니다. 더 보기...

상세 설명

void 유형은 undefined 을 반환하는 JavaScript 함수에 형식 주석을 달 때만 사용됩니다. 예를 들어:

function doThings() : void { console.log("hello") }

이는 도구가 이러한 함수에 대한 호출을 분석하고 해당 함수와 호출자를 C++로 컴파일하는 데 도움을 주기 위한 것입니다.

QML에서는 void 속성을 선언할 수 없습니다.

QML 값 유형도참조하세요 .

© 2025 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.