How to set a certain includePath when there are multiple header with same filename ? #9942
-
Hi, I'm using the first one (Qt 6.4), but I found that the cpptools always opens the header file of the second one (Qt 5.13) when I ctrl-click By the way, I've tried add |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Add "/Users/titan/opt/anaconda3/include/qt" to the C_Cpp.files.exclude setting or set the browse.path such that that folder isn't included or put /Users/titan/Qt/6.4.0/macos/lib (non-recursive) before the other path (you may need to add other non-recursive paths too). |
Beta Was this translation helpful? Give feedback.
Add "/Users/titan/opt/anaconda3/include/qt" to the C_Cpp.files.exclude setting or set the browse.path such that that folder isn't included or put /Users/titan/Qt/6.4.0/macos/lib (non-recursive) before the other path (you may need to add other non-recursive paths too).