I have experienced the following error in a header generated by Qt's tool uic:
<errormsg="There is an unknown macro here somewhere. Configuration is required. If QT_END_NAMESPACE is a macro then please configure it."verbose="There is an unknown macro here somewhere. Configuration is required. If QT_END_NAMESPACE is a macro then please configure it."id="unknownMacro"severity="error"></error>
I solved the problem by adding the following two lines to qt.cfg:
My environment:
Ubuntu 18.04
Cppcheck 2.4.1
FYI:
I have experienced the following error in a header generated by Qt's tool uic:
I solved the problem by adding the following two lines to qt.cfg:
thanks I have merged those changes in qt.cfg.