Document that CMAKE_AUTOMOC works with Qt 5.

This commit is contained in:
Stephen Kelly 2013-03-16 19:31:04 +01:00
parent 253a913654
commit 1b386b3407
1 changed files with 2 additions and 1 deletions

View File

@ -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, "