fixed #12056 - qt.cfg: implemented `Q_OBJECT` to get rid of `symbolDatabaseWarning` in selfcheck (#5533)
This commit is contained in:
parent
f2461781fd
commit
d1b42d0771
|
@ -4,14 +4,12 @@ bitwiseOnBoolean
|
|||
|
||||
# temporary suppressions - fix the warnings!
|
||||
simplifyUsing:lib/valueptr.h
|
||||
simplifyUsing:gui/temp/moc_*.cpp
|
||||
varid0:gui/projectfile.cpp
|
||||
templateInstantiation
|
||||
|
||||
# warnings in Qt generated code we cannot fix
|
||||
symbolDatabaseWarning:gui/temp/moc_*.cpp
|
||||
simplifyUsing:gui/temp/moc_*.cpp
|
||||
funcArgNamesDifferent:gui/temp/moc_*.cpp
|
||||
symbolDatabaseWarning:tools/triage/temp/moc_*.cpp
|
||||
naming-varname:gui/temp/ui_*.h
|
||||
naming-varname:cmake.output/gui/ui_*.h
|
||||
functionStatic:gui/temp/ui_fileview.h
|
||||
|
|
|
@ -10,3 +10,6 @@ unusedFunction:gui/codeeditor.*
|
|||
unusedFunction:lib/symboldatabase.cpp
|
||||
# false positive - #10661
|
||||
unusedFunction:oss-fuzz/main.cpp
|
||||
|
||||
# Q_OBJECT functions which are not called in our code
|
||||
unusedFunction:cmake.output.notest/gui/cppcheck-gui_autogen/*/moc_aboutdialog.cpp
|
|
@ -5081,7 +5081,7 @@
|
|||
<define name="Q_LIKELY(expr)" value="expr"/>
|
||||
<define name="Q_NAMESPACE" value=""/>
|
||||
<define name="Q_NULLPTR" value="NULL"/>
|
||||
<define name="Q_OBJECT" value=""/>
|
||||
<define name="Q_OBJECT" value="static void qt_static_metacall(QObject*,QMetaObject::Call,int,void**);const MetaObject* metaObject() const;void* qt_metacast(const char*);int qt_metacall(QMetaObject::Call,int,void**);"/>
|
||||
<define name="Q_PRIVATE_SLOT(d, signature)" value=""/>
|
||||
<define name="Q_SLOTS" value=""/>
|
||||
<!-- Treat as variadic macro to avoid preprocessorErrorDirective -->
|
||||
|
|
Loading…
Reference in New Issue