[Qt-creator] clang-tidy complains about Q_OBJECT macro

timur.kristof at gmail.com timur.kristof at gmail.com
Thu Mar 29 11:51:51 CEST 2018


Hi!

I upgraded to Qt Creator 4.6.0 and was happy to see all the stuff that
went in. However, it now dislikes the Q_OBJECT macro:

warning: unknown warning group '-Wsuggest-override', ignored

Looks like another disparity between gcc and clang warning options.
I guess it somehow picks up this:

QT_WARNING_DISABLE_GCC("-Wsuggest-override")

instead of the correct clang-specific warning option.

Best regards,
Timur



More information about the Qt-creator mailing list