Qt CMake 策略

Qt CMake policies maintain the backward compatibility across multiple releases. Every new policy starts by warning you about a deprecated feature or behavior; followed by a warning message that briefly describes the change. To disable a policy's warning, explicitly request the NEW or non-backward compatible behavior of a policy using the qt_policy() 命令。

策略

QTP0001

':/qt/qml/' is the default resource prefix for QML modules

QTP0002

Target properties that specify Android-specific paths may contain generator expressions

QTP0003

考虑 BUILD_SHARED_LIBS 值,当创建 Qt 库时

导入目标 QT 5 和 QT 6 兼容性

内容