summaryrefslogtreecommitdiffstats
path: root/Help/release/3.11.rst
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2018-05-11 16:54:42 (GMT)
committerBrad King <brad.king@kitware.com>2018-05-15 13:50:22 (GMT)
commit9672d81ca3e51004f94bb2d9503e8b569565c8d0 (patch)
tree0576e3f0e1c6be4c9fed87ca9c26be1938772807 /Help/release/3.11.rst
parent800b2fcf80aeab9849036e56e84036b70deb077b (diff)
downloadCMake-9672d81ca3e51004f94bb2d9503e8b569565c8d0.zip
CMake-9672d81ca3e51004f94bb2d9503e8b569565c8d0.tar.gz
CMake-9672d81ca3e51004f94bb2d9503e8b569565c8d0.tar.bz2
Qt4Macros: Don't AUTOMOC or AUTOUIC qt4-generated files
Suppress AUTOMOC and AUTOUIC on files generated by Qt4 wrapping macros; particularly, those generated by `qt4_wrap_cpp`, `qt4_wrap_ui`, and `qt4_add_resources`. None of these should need AUTOMOC or AUTOUIC treatment, and CMP0071 makes it important to mark this explicitly.
Diffstat (limited to 'Help/release/3.11.rst')
-rw-r--r--Help/release/3.11.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/3.11.rst b/Help/release/3.11.rst
index 184497c..971b3e2 100644
--- a/Help/release/3.11.rst
+++ b/Help/release/3.11.rst
@@ -292,3 +292,9 @@ Changes made since CMake 3.11.0 include the following.
it did prior to 3.11.0. This diagnostic was accidentally dropped
from CMake 3.11.0 and 3.11.1 by the change to allow globally visible
imported targets to be aliased.
+
+* The :module:`FindQt4` module ``qt4_wrap_cpp``, ``qt4_wrap_ui`` and
+ ``qt4_add_resources`` macros now set :prop_sf:`SKIP_AUTOMOC` and
+ :prop_sf:`SKIP_AUTOUIC` on their generated files. These files never
+ need to be processed by moc or uic, and we must say so explicitly to
+ account for policy :policy:`CMP0071`.