summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-10-31 17:26:04 (GMT)
committerBrad King <brad.king@kitware.com>2018-11-14 20:05:06 (GMT)
commit0f5c1b404b0f9cbe652cf306e9dca0c25c70876f (patch)
tree3040a94e2f7f8f9e0de4a8bd13debbe665ea997a /Help/release
parentddb967cca1a37501dcf3fbd6f64c2d3be1c0c82b (diff)
downloadCMake-0f5c1b404b0f9cbe652cf306e9dca0c25c70876f.zip
CMake-0f5c1b404b0f9cbe652cf306e9dca0c25c70876f.tar.gz
CMake-0f5c1b404b0f9cbe652cf306e9dca0c25c70876f.tar.bz2
find_package(): Add policy to remove the FindQt module
Removing FindQt.cmake gives Qt upstream a path forward to export its own QtConfig.cmake files which can be found by find_package() without having to explicitly specify CONFIG. Projects that still want to use Qt3/4 can call find_package(Qt[34]), include(FindQt), or add FindQt.cmake to their CMAKE_MODULE_PATH.
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/deprecate-findqt.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/release/dev/deprecate-findqt.rst b/Help/release/dev/deprecate-findqt.rst
new file mode 100644
index 0000000..4171c65
--- /dev/null
+++ b/Help/release/dev/deprecate-findqt.rst
@@ -0,0 +1,8 @@
+deprecate-findqt
+----------------
+
+* The :module:`FindQt` module is no longer used by the :command:`find_package`
+ command as a find module. This allows the Qt Project upstream to optionally
+ provide its own ``QtConfig.cmake`` package configuration file and have
+ applications use it via ``find_package(Qt)`` rather than
+ ``find_package(Qt CONFIG)``. See policy :policy:`CMP0084`.