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

Aleksey Kontsevich tantrido at ya.ru
Thu Mar 29 12:14:46 CEST 2018


https://bugreports.qt.io/browse/QTCREATORBUG-18757
I have gcc 7.3.1 on my machine however still have this. Probably depends on gcc Qt Creator was built with - which is 5.3.1

-- 
Best regards,
Aleksey
Linked in  https://www.linkedin.com/in/alekseykontsevich



29.03.2018, 12:52, "timur.kristof at gmail.com" <timur.kristof at gmail.com>:
> 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
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator



More information about the Qt-creator mailing list