qt5base-lts/tests/auto/tools/moc
Olivier Goffart b8d08c0e9a Fix tst_moc when variadic macros are enabled
moc do not see Q_COMPILER_VARIADIC_MACROS as defined (because it does
not know the builtins defines)

So it would never parse those macro, and never generate the signals or
slot.

Always let moc parse the variadic macro, and put non-macro function in
the header so the generated code would compile on every compiler

Change-Id: Ie9504539ee737c81e831b217f8d623fe810d9e35
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-03-17 10:57:49 +01:00
..
task71021 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Test.framework/Headers Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testproject Update copyright year in Digia's license headers 2013-01-18 09:07:35 +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 Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
backslash-newlines.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
c-comments.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
cstyle-enums.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
cxx11-enums.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
cxx11-explicit-override-control.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
cxx11-final-classes.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
dir-in-include-path.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
error-on-wrong-notify.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
escapes-in-string-literals.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
extraqualification.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
forgotten-qinterface.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
forward-declared-param.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
function-with-attributes.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
gadgetwithnoenums.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
Header Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
interface-from-framework.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
macro-on-cmdline.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
moc.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
namespaced-flags.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
no-keywords.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
oldstyle-casts.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
os9-newlines.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
parse-boost.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
parse-defines.h Fix tst_moc when variadic macros are enabled 2013-03-17 10:57:49 +01:00
pp-dollar-signs.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
pure-virtual-signals.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qinvokable.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qprivateslots.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
single_function_keyword.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
slots-with-void-template.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task87883.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task189996.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task192552.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task234909.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task240368.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
template-gtgt.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
trigraphs.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
tst_moc.cpp Fix tst_moc when variadic macros are enabled 2013-03-17 10:57:49 +01:00
unterminated-function-macro.h moc: Error out when detecting unterminated macro usage 2013-02-19 20:51:44 +01:00
using-namespaces.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
warn-on-multiple-qobject-subclasses.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
warn-on-property-without-read.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
win-newlines.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00