You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The macro `QT_USE_NAMESPACE` should expand to nothing for most Qt
builds, i.e. built with an empty `QT_NAMESPACE` variable.
However if Qt is built using a custom namespace then all forward
declarations must be wrapped with `QT_BEGIN_NAMESPACE` and
`QT_END_NAMESPACE`. Today CppCheck defines these macros as empty, thus
`QT_USE_NAMESPACE` should be empty as well.
Reference:
https://wiki.qt.io/Qt_In_Namespace
0 commit comments