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

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.