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

Eike Ziller Eike.Ziller at qt.io
Thu Mar 29 12:51:17 CEST 2018


Looks like https://bugreports.qt.io/browse/QTCREATORBUG-17460

Not sure why that reappeared for you.

Br, Eike

> On Mar 29, 2018, at 11:51, timur.kristof at gmail.com wrote:
> 
> 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

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list