Hi,
I just upgrade QT 5.0.1 to 5.1. However, I found the source file (.cpp) are not highlighted. After further investigation, I found the #include statement is required to point to the exact path. For example, the directory looks like:
project root
|-- inc
| |-- aa.h
| `-- bb.h
`-- src
|-- aa.cpp
`-- bb.cpp
The include statement need to be "#include <inc/aa.h>" so that bb.cpp is highlighted. But for previous version, "#include <aa.h>" is fine.
So my question is how I can still just include the header file only without the path".
Thanks
Bookmarks