qt5base-lts/src/tools
Matthew Vogt 5bb1408927 Allow moc to handle symbols that have been redefined.
Allow moc to produce the desired identifiers when used with C++
symbol names that have been redefined, for example by -Dfoo=bar.

Two changes are required: firstly, when encoding a type name, the
components of the name must be checked for substitutions that have been
defined for that token (note that this is not done here by correct
pre-processing, but only by processing the resultant table of
definitions).  Secondly, the arguments to the SIGNAL, SLOT and METHOD
macros must be allowed to be substituted during macro expansion rather
than stringized directly.

This is a temporary change to prevent breaking existing projects
that depend on the declarative module.  After clients have had an
opportunity to update their code to the use the new interfaces,
it can be removed.

Task-number: QTBUG-23737
Change-Id: I39e6844cebf6ca7984af6028160b8a3797ac44a5
Reviewed-by: Martin Jones <martin.jones@nokia.com>
2012-02-27 00:18:53 +01:00
..
bootstrap Add JSON support to the bootstrap library 2012-02-15 17:27:24 +01:00
moc Allow moc to handle symbols that have been redefined. 2012-02-27 00:18:53 +01:00
rcc QByteArray: deprecate QT_NO_CAST_FROM_BYTEARRAY-protected operators 2012-02-26 09:14:11 +01:00
uic QByteArray: deprecate QT_NO_CAST_FROM_BYTEARRAY-protected operators 2012-02-26 09:14:11 +01:00
tools.pro Remove Symbian code from tools. 2012-01-30 16:49:36 +01:00