diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-05-06 11:27:53 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-05-06 11:15:47 +0000 |
commit | df3c82f6af0bf7b857ba7a5110643eb7abe84182 (patch) | |
tree | eb51eb69710e13b0a9fcb273c24e05d81d916158 /tests/auto/quick/qquickimageprovider/tst_qquickimageprovider.cpp | |
parent | f85d3f950a046d768d7644931ed8167d614ad19c (diff) |
QML macros: suppress Wredundant-decls
When using multiple QML type registration macros, one might end up with
duplicated friend declarations. This is fine as far as C++ is concerned,
but triggers gcc's redundant-decls warning.
Given that we require the friend declaration, and would like to keep it
in the macros that actually need them (instead of putting them into the
macros which are used in all types exposed to QML), we opt for
suppressing the warning.
Pick-to: 6.5 6.7
Fixes: QTBUG-124934
Change-Id: I4f43afddfefb6e546ddddbdc01435222398a06be
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickimageprovider/tst_qquickimageprovider.cpp')
0 files changed, 0 insertions, 0 deletions