W3cubDocs

/Qt 6.9

Qt CMake policies

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() command.

Policies

QTP0001

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

QTP0002

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

QTP0003

Consider the BUILD_SHARED_LIBS value when creating Qt libraries

QTP0004

Extra directories with QML files in a QML module need extra qmldir files

QTP0005

Qt_add_qml_module's DEPENDENCIES argument accepts targets

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qt-cmake-policies.html