Thanks! :)

> On 29 Apr 2021, at 09:58, Kai Köhne <kai.koe...@qt.io> wrote:
> 
>> -----Ursprüngliche Nachricht-----
>> Von: Interest <interest-boun...@qt-project.org> Im Auftrag von Nuno
>> Betreff: [Interest] emit keyword being used with non-signal
>> 
>> Hi,
>> 
>> I’ve been having a lot of this warnings by QtCreator.
>> 
>> These are being raised by signals and I don’t find a reason for them to
>> appear.
>> 
>> Can anyone explain why this happens and how to solve?
> 
> This particular warning is from clazy, and is trying to tell you that you're 
> using 'emit' on a function that is not marked as signal in the declaration 
> using (Q_SIGNAL/signals: sections)
> 
> Anyhow, I think there was a recent issue with this warning that caused false 
> positives: https://bugreports.qt.io/browse/QTCREATORBUG-25165
> 
> As a workaround, you can disable this very clazy check , see 
> https://doc.qt.io/qtcreator/creator-clang-tools.html
> 
> Or you give the Qt Creator 4.15.0 RC a try, where it should be fixed, too 😊
> 
> Regards
> 
> Kai 

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to