1CMP0084 2------- 3 4.. versionadded:: 3.14 5 6The :module:`FindQt` module does not exist for :command:`find_package`. 7 8The existence of :module:`FindQt` means that for Qt upstream to provide 9package config files that can be found by ``find_package(Qt)``, the consuming 10project has to explicitly specify ``find_package(Qt CONFIG)``. Removing this 11module gives Qt a path forward for exporting its own config files which can 12easily be found by consuming projects. 13 14This policy pretends that CMake's internal :module:`FindQt` module does not 15exist for :command:`find_package`. If a project really wants to use Qt 3 or 4, 16it can call ``find_package(Qt[34])``, ``include(FindQt)``, or add 17:module:`FindQt` to their :variable:`CMAKE_MODULE_PATH`. 18 19The ``OLD`` behavior of this policy is for :module:`FindQt` to exist for 20:command:`find_package`. The ``NEW`` behavior is to pretend that it doesn't 21exist for :command:`find_package`. 22 23This policy was introduced in CMake version 3.14. CMake version 24|release| warns when the policy is not set and uses ``OLD`` behavior. 25Use the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` 26explicitly. 27 28.. include:: DEPRECATED.txt 29