<QtVersion>
애플리케이션이 실행 중인 Qt 버전과 해당 애플리케이션이 컴파일될 때 사용된 Qt 버전에 대한 정보. 더 보기...
| Header: | #include <QtVersion> |
함수
| const char * | qVersion() |
매크로
함수 문서
[noexcept] const char *qVersion()
실행 시점에 Qt의 버전 번호를 문자열 형식(예: "6.1.2")으로 반환합니다. 이는 실행 시점에 사용 중인 Qt 라이브러리의 버전이며, 반드시 애플리케이션이 컴파일될 때 사용된 버전과 일치할 필요는 없습니다.
QT_VERSION_STR 및 QLibraryInfo::version()도 참조하십시오 .
매크로 설명서
QT_VERSION_STR
이 매크로는 Qt의 버전 번호(예: “6.1.2”)를 나타내는 문자열로 확장됩니다. 이는 애플리케이션이 컴파일된 버전입니다. 이 버전은 애플리케이션이 실행 시 실제로 사용하게 될 버전과 다를 수 있습니다.
qVersion() 및 QT_VERSION도 참조하십시오 .
© 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.