summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-04 15:19:50 -0800
committerMarc Mutz <marc.mutz@kdab.com>2016-03-09 20:11:28 +0000
commit2020d2cb63b851723e188c002acbe25b5f066525 (patch)
tree62eb4846b7e5ca1b67baa98f6067d06e4108fed7 /src/corelib/animation
parentf8f1bac3f0df29e9a3103d385a0c5f9153a9eb66 (diff)
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>
Diffstat (limited to 'src/corelib/animation')
0 files changed, 0 insertions, 0 deletions