이 페이지에서

void QML Value Type

빈 값 유형. 더 보기...

상세 설명

void 유형은 ` undefined`를 반환하는 JavaScript 함수의 타입 주석으로만 사용됩니다. 예를 들어:

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

이는 툴이 이러한 함수에 대한 호출을 분석하고, 해당 함수와 호출자를 C++로 컴파일할 수 있도록 돕기 위함입니다.

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

QML 값 유형도 참조하십시오 .

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