qt5base-lts/tests/auto/tools/moc
Stephen Kelly 5a1fa8860c Generate includes for Qt containers used as auto-metatypes.
Otherwise the containers might be forward declared in the moc file,
and when the moc file is compiled in a standalone translation unit,
the full definition of it would not be available. This results in
odd compile errors, so instead generate the includes if required.

Change-Id: Ie01c5a5d45314daad0b00dec03b3e1e18cdbae64
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-09-03 20:05:04 +02:00
..
task71021 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Test.framework/Headers Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
testproject Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
.gitattributes Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
.gitignore Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
assign-namespace.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
backslash-newlines.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
c-comments.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
cstyle-enums.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
cxx11-enums.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
cxx11-explicit-override-control.h moc: test slots marked final/override in various ways 2012-08-26 14:29:52 +02:00
cxx11-final-classes.h moc: parse classes that use Q_DECL_FINAL|final|sealed 2012-08-26 14:29:52 +02:00
dir-in-include-path.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
error-on-wrong-notify.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
escapes-in-string-literals.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
extraqualification.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
forgotten-qinterface.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
forward-declared-param.h Generate includes for Qt containers used as auto-metatypes. 2012-09-03 20:05:04 +02:00
gadgetwithnoenums.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
Header Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
interface-from-framework.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macro-on-cmdline.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
moc.pro Generate includes for Qt containers used as auto-metatypes. 2012-09-03 20:05:04 +02:00
namespaced-flags.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
no-keywords.h Update the moc no-keywords test for the signals replacement. 2012-07-09 15:55:15 +02:00
oldstyle-casts.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
os9-newlines.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
parse-boost.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
pure-virtual-signals.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qinvokable.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qprivateslots.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
single_function_keyword.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
slots-with-void-template.h moc: test signature with (void) 2012-03-16 17:37:18 +01:00
task87883.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task189996.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task192552.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task234909.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task240368.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
template-gtgt.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
trigraphs.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
tst_moc.cpp Fix moc generating invalid code for slots with reference types as argument. 2012-09-02 23:41:42 +02:00
using-namespaces.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
warn-on-multiple-qobject-subclasses.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
warn-on-property-without-read.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
win-newlines.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00