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

Aleksey Kontsevich tantrido at ya.ru
Thu Mar 29 12:47:13 CEST 2018


People in blog said it is: http://blog.qt.io/blog/2018/03/28/qt-creator-4-6-0-released/#comment-1202733

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


29.03.2018, 13:35, "timur.kristof at gmail.com" <timur.kristof at gmail.com>:
> Hello Aleksey,
>
> I think the bug report is about something else entirely.
>
> Regards,
> Timur
>
> On Thu, 2018-03-29 at 13:14 +0300, Aleksey Kontsevich wrote:
>>  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