Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information