756 B
756 B
Setup
- To be able to get suggesstion on qt based methods, classes. adding includepath is necessary. it is
/usr/include/qtand/usr/include/qt/QtWidgets - for nvim and zed add
.clangdin project directory and add following
in vscode itsCompileFlags: Add: - "-I/usr/include/qt" - "-I/usr/include/qt/QtWidgets".vscode/c_cpp_properties.jsonunder includepath{ "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/**", "/usr/include/qt/QtWidgets", "/usr/include/qt" ], "defines": [], "compilerPath": "/usr/bin/clang", "cStandard": "c17", "cppStandard": "c++17", "intelliSenseMode": "linux-clang-x64" } ], "version": 4 }