浏览代码

Document that CMAKE_AUTOMOC works with Qt 5.

Stephen Kelly 12 年之前
父节点
当前提交
1b386b3407
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Source/cmTarget.cxx

+ 2 - 1
Source/cmTarget.cxx

@@ -193,7 +193,8 @@ void cmTarget::DefineProperties(cmake *cm)
      "Should the target be processed with automoc (for Qt projects).",
      "Should the target be processed with automoc (for Qt projects).",
      "AUTOMOC is a boolean specifying whether CMake will handle "
      "AUTOMOC is a boolean specifying whether CMake will handle "
      "the Qt moc preprocessor automatically, i.e. without having to use "
      "the Qt moc preprocessor automatically, i.e. without having to use "
-     "the QT4_WRAP_CPP() macro. Currently Qt4 is supported. "
+     "the QT4_WRAP_CPP() or QT5_WRAP_CPP() macro. Currently Qt4 and Qt5 are "
+     "supported.  "
      "When this property is set to TRUE, CMake will scan the source files "
      "When this property is set to TRUE, CMake will scan the source files "
      "at build time and invoke moc accordingly. "
      "at build time and invoke moc accordingly. "
      "If an #include statement like #include \"moc_foo.cpp\" is found, "
      "If an #include statement like #include \"moc_foo.cpp\" is found, "