(Sorry but I don't know where the subject has gone) Hi, I just added cppcheck to my Qt project based on CMake build system to analyse the codes. I run Cppcheck on a Ubuntu 24.04 system and use a compile_commands.json file as the project file. But when I run cppcheck for the source, I got the following errors: /usr/include/x86_64-linux-gnu/qt6/QtCore/qsystemdetection.h:134:0: error: #error "Qt has not been ported to this OS - see http://www.qt-project.org/" [preprocessorErrorDirective] # error "Qt...
Hi, I just added cppcheck to my Qt project based on CMake build system to analyse the codes. I run Cppcheck on a Ubuntu 24.04 system and use a compile_commands.json file as the project file. But when I run cppcheck for the source, I got the following errors: /usr/include/x86_64-linux-gnu/qt6/QtCore/qsystemdetection.h:134:0: error: #error "Qt has not been ported to this OS - see http://www.qt-project.org/" [preprocessorErrorDirective] # error "Qt has not been ported to this OS - see http://www.qt-project.org/"...
Hi, I just added cppcheck to my Qt project based on CMake build system to analyse the codes. I run Cppcheck on a Ubuntu 24.04 system and use a compile_commands.json file as the project file. But when I run cppcheck for the source, I got the following errors: /usr/include/x86_64-linux-gnu/qt6/QtCore/qsystemdetection.h:134:0: error: #error "Qt has not been ported to this OS - see http://www.qt-project.org/" [preprocessorErrorDirective] # error "Qt has not been ported to this OS - see http://www.qt-project.org/"...