qt5base-lts/tests/auto/tools/moc
Marc Mutz 2020d2cb63 QObject: fix GCC 6 warning about qt_static_metacall's 'hidden' attribute use
This warning is triggered when we try to apply the Q_DECL_HIDDEN
attribute to a class in an unnamed namespace. Such classes are
already not exported.

  qobjectdefs.h:175:108: warning: ‘visibility’ attribute ignored [-Wattributes]
  qobjectdefs.h:198:108: warning: ‘visibility’ attribute ignored [-Wattributes]

Added a test on gadgets (and QObjects) in unnamed namespaces,
because qtbase currently does not contain such Q_GADGETs.

Done-with: Thiago Macieira <thiago.macieira@intel.com>
Change-Id: Ic747cc2ab45e4dc6bb70ffff1438c747b05c5672
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-03-09 20:11:28 +00:00
..
task71021 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Test.framework/Headers Update copyright headers 2015-02-11 06:49:51 +00:00
testproject Update copyright headers 2015-02-11 06:49:51 +00: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 headers 2015-02-11 06:49:51 +00:00
backslash-newlines.h Update copyright headers 2015-02-11 06:49:51 +00:00
c-comments.h Update copyright headers 2015-02-11 06:49:51 +00:00
cstyle-enums.h Update copyright headers 2015-02-11 06:49:51 +00:00
cxx11-enums.h Update copyright headers 2015-02-11 06:49:51 +00:00
cxx11-explicit-override-control.h Update copyright headers 2015-02-11 06:49:51 +00:00
cxx11-final-classes.h Update copyright headers 2015-02-11 06:49:51 +00:00
dir-in-include-path.h Update copyright headers 2015-02-11 06:49:51 +00:00
dollars.h Update copyright headers 2015-02-11 06:49:51 +00:00
error-on-wrong-notify.h Update copyright headers 2015-02-11 06:49:51 +00:00
escapes-in-string-literals.h Update copyright headers 2015-02-11 06:49:51 +00:00
extraqualification.h Update copyright headers 2015-02-11 06:49:51 +00:00
forgotten-qinterface.h Update copyright headers 2015-02-11 06:49:51 +00:00
forward-declared-param.h Update copyright headers 2015-02-11 06:49:51 +00:00
function-with-attributes.h Update copyright headers 2015-02-11 06:49:51 +00:00
gadgetwithnoenums.h Update copyright headers 2015-02-11 06:49:51 +00:00
grand-parent-gadget-class.h Update copyright headers 2015-02-11 06:49:51 +00: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 headers 2015-02-11 06:49:51 +00:00
interface-from-include.h Update copyright headers 2015-02-11 06:49:51 +00:00
macro-on-cmdline.h Update copyright headers 2015-02-11 06:49:51 +00:00
moc.pro moc: Don't link to inexistent parent staticMetaObject 2015-01-13 11:25:53 +01:00
namespaced-flags.h Update copyright headers 2015-02-11 06:49:51 +00:00
no-keywords.h Update copyright headers 2015-02-11 06:49:51 +00:00
non-gadget-parent-class.h Update copyright headers 2015-02-11 06:49:51 +00:00
oldstyle-casts.h Update copyright headers 2015-02-11 06:49:51 +00:00
os9-newlines.h Update copyright headers 2015-02-11 06:49:51 +00:00
parse-boost.h Update copyright headers 2015-02-11 06:49:51 +00:00
parse-defines.h Update copyright headers 2015-02-11 06:49:51 +00:00
plugin_metadata.h Update copyright headers 2015-02-11 06:49:51 +00:00
pp-dollar-signs.h Update copyright headers 2015-02-11 06:49:51 +00:00
pure-virtual-signals.h Update copyright headers 2015-02-11 06:49:51 +00:00
qinvokable.h Update copyright headers 2015-02-11 06:49:51 +00:00
qprivateslots.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtbug-35657-gadget.h Update copyright headers 2015-02-11 06:49:51 +00:00
related-metaobjects-in-gadget.h Update copyright headers 2015-02-11 06:49:51 +00:00
related-metaobjects-in-namespaces.h Update copyright headers 2015-02-11 06:49:51 +00:00
related-metaobjects-name-conflict.h Update copyright headers 2015-02-11 06:49:51 +00:00
single_function_keyword.h Update copyright headers 2015-02-11 06:49:51 +00:00
single-quote-digit-separator-n3781.h Update copyright headers 2015-02-11 06:49:51 +00:00
slots-with-void-template.h Update copyright headers 2015-02-11 06:49:51 +00:00
task87883.h Update copyright headers 2015-02-11 06:49:51 +00:00
task189996.h Update copyright headers 2015-02-11 06:49:51 +00:00
task192552.h Update copyright headers 2015-02-11 06:49:51 +00:00
task234909.h Update copyright headers 2015-02-11 06:49:51 +00:00
task240368.h Update copyright headers 2015-02-11 06:49:51 +00:00
template-gtgt.h Update copyright headers 2015-02-11 06:49:51 +00:00
trigraphs.h Update copyright headers 2015-02-11 06:49:51 +00:00
tst_moc.cpp QObject: fix GCC 6 warning about qt_static_metacall's 'hidden' attribute use 2016-03-09 20:11:28 +00:00
unterminated-function-macro.h Update copyright headers 2015-02-11 06:49:51 +00:00
using-namespaces.h Update copyright headers 2015-02-11 06:49:51 +00:00
warn-on-multiple-qobject-subclasses.h Update copyright headers 2015-02-11 06:49:51 +00:00
warn-on-property-without-read.h Update copyright headers 2015-02-11 06:49:51 +00:00
win-newlines.h Update copyright headers 2015-02-11 06:49:51 +00:00