Document moc -f<...>
behavior change in Qt-5.2.0
Better late than never :) Task-number: QTBUG-33749 Change-Id: I5035255e66a56754b609441f5b81ab119565a7cb Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
parent
1865104d9e
commit
5428db88de
7
dist/changes-5.2.0
vendored
7
dist/changes-5.2.0
vendored
@ -768,3 +768,10 @@ X11
|
||||
* [QTBUG-34392][MSVS] Fixed /SAFESEH:NO with VS2010+.
|
||||
* [QTBUG-34357][MSVS] Fixed breakage with multiple VS versions in PATH.
|
||||
* [MSVS] Fixed sub-project dependency generation.
|
||||
|
||||
- moc
|
||||
* Porting moc to QCommandLineParser has changed one specific option in its
|
||||
command line handling: using the -f option without argument
|
||||
is not supported anymore (it wasn't necessary, since including the header
|
||||
file is the default behavior).
|
||||
|
||||
|
@ -258,7 +258,7 @@ int runMoc(int argc, char **argv)
|
||||
parser.addOption(pathPrefixOption);
|
||||
|
||||
QCommandLineOption forceIncludeOption(QStringLiteral("f"));
|
||||
forceIncludeOption.setDescription(QStringLiteral("Force #include [optional <file>] (overwrite default)."));
|
||||
forceIncludeOption.setDescription(QStringLiteral("Force #include <file> (overwrite default)."));
|
||||
forceIncludeOption.setValueName(QStringLiteral("file"));
|
||||
parser.addOption(forceIncludeOption);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user