<QtVersion> Proxy Page
函数
const char * | qVersion () |
宏
QT_VERSION_STR |
函数文档编制
[noexcept]
const
char
*
qVersion
()
Returns the version number of Qt at runtime as a string (for example, "6.1.2"). This is the version of the Qt library in use at runtime , which need not be the version the application was compiled with.
另请参阅 QT_VERSION_STR and QLibraryInfo::version ().
宏文档编制
QT_VERSION_STR
This macro expands to a string that specifies Qt's version number (for example, "6.1.2"). This is the version with which the application is compiled. This may be a different version than the version the application will find itself using at runtime .
另请参阅 qVersion () 和 QT_VERSION .