[英]getting runtime version information of Qt5 library
Qt5庫(用於 Linux)內部是否有 C++ 函數或 API 來在運行時檢索 Qt 共享庫的精確版本信息?
GNU glibc有gnu_get_libc_version 。 libcurl有curl_version 。
gnu_get_libc_version
curl_version
我想要 Qt5 的等價物(對於RefPerSys項目,如果這很重要的話)。 它使用 Qt5 X11 GUI 界面。
使用qVersion或QT_VERSION (替代)。
qVersion
QT_VERSION
要檢查特定版本: QT_VERSION_CHECK(6, 0, 0) 。
QT_VERSION_CHECK(6, 0, 0)
[英]Using Qt5 in a library
[英]QT “relocation error”/“no version information available” runtime errors
[英]Allow user to resize widgets at runtime in QT5
[英]Qt5 OpenGL GLSL version error
[英]Qt5 VS 2010 - QtSerialPort Library Failure
[英]Qt5 - Link pHash library “undefined reference”
[英]Use newest Qt5 serialport library in Qt4
[英]Using pre-compiled Qt5 library in a Qt6 application
[英]Qt5 C++: Add additional information to QFileSystemModel
[英]How to get the ios document/library path through Qt5?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.