浏览代码

Autogen: Update (CMAKE_)AUTOMOC_MACRO_NAMES release notes

Sebastian Holtermann 8 年之前
父节点
当前提交
93c8d55d04
共有 1 个文件被更改,包括 10 次插入8 次删除
  1. 10 8
      Help/release/dev/autogen-macro-names.rst

+ 10 - 8
Help/release/dev/autogen-macro-names.rst

@@ -1,12 +1,14 @@
 autogen-macro-names
 -------------------
 
-* When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``
-  and ``Q_OBJECT`` in a source file to determine if it needs to be ``moc``
-  processed. The new variable :variable:`CMAKE_AUTOMOC_MACRO_NAMES` allows to
-  register additional strings (macro names) so search for.
+* When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``,
+  ``Q_GADGET`` or ``Q_NAMESPACE`` in a source file to determine if it needs
+  to be ``moc`` processed. The new variable
+  :variable:`CMAKE_AUTOMOC_MACRO_NAMES` allows to register additional
+  strings (macro names) so search for.
 
-* When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``
-  and ``Q_OBJECT`` in a source file to determine if it needs to be ``moc``
-  processed. The new target property :prop_tgt:`AUTOMOC_MACRO_NAMES` allows to
-  register additional strings (macro names) so search for.
+* When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``,
+  ``Q_GADGET`` or ``Q_NAMESPACE`` in a source file to determine if it needs
+  to be ``moc`` processed. The new target property
+  :prop_tgt:`AUTOMOC_MACRO_NAMES` allows to register additional strings
+  (macro names) so search for.