Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.4.0-beta1
-
None
-
Linux, GCC 6.3.0
Description
When using the Clang code model, the Q_OBJECT macro is underlined and a yellow warning icon is generated. See screenshot.
Code to reproduce:
#include <QObject> class Foo: public QObject { Q_OBJECT public: bool event(QEvent *event) override; };
Attachments
Issue Links
- replaces
-
QTCREATORBUG-17518 Q_OBJECT macro triggers override warning with Clang Code Model and no Clang compiler
- Closed
For Gerrit Dashboard: QTCREATORBUG-18621 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
202039,3 | Clang: Blacklist override warnings from Q_OBJECT | 4.4 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |