CMake Target Properties in Qt6 Core

CMake 命令 know about the following CMake target properties:

另请参阅 CMake 特性参考 .

QT_ANDROID_DEPLOYMENT_DEPENDENCIES Overrides the Qt dependencies added to the target's deployment.
QT_ANDROID_DEPLOYMENT_SETTINGS_FILE Specifies the location of a target's generated deployment settings file.
QT_ANDROID_EXTRA_LIBS Extra libraries to deploy with the target.
QT_ANDROID_EXTRA_PLUGINS Extra Qt plugins to deploy with the target.
QT_ANDROID_MIN_SDK_VERSION Minimum Android SDK version.
QT_ANDROID_PACKAGE_SOURCE_DIR Path to a custom Android package template.
QT_ANDROID_TARGET_SDK_VERSION Android target SDK version.
QT_ANDROID_VERSION_CODE Internal Android app version.
QT_ANDROID_VERSION_NAME Human-readable Android app version.
QT_QML_IMPORT_PATH Specifies a list of directories to search for QML imports.
QT_QML_ROOT_PATH Overrides the location of the application's qml directory.
QT_RESOURCE_PREFIX Specifies the default Qt resource prefix.
qt_no_entrypoint Specifies to inhibit linking against Qt's entrypoint lib.