Classes don't highlight/link in editor (c++)
-
I'm using Google's protocol buffers and they are linked in my header files but in my .cpp they don't show up purple/linked. I can't right click and follow symbol under cursor on them and they don't auto fill when typing. Classes that I write in my header files however do highlight/link. My code compiles and links sources without issues, i.e. it has no problem linking the .pb.cc and .pb.h files where the classes live. I'm not sure if I'm titling this right but if anyone can tell me what I could try so I can get these Google protocol buffer classes to highlight/autofill/link like the classes I write in my header file I'd be so happy. Thanks!
-
Did you add the include paths to the .pro file with "INCLUDEPATH":http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#includepath?
-
No I didn't, you sir have made my day. Thank you so much.
-
Glad I could help.
Please prepend [SOLVED] to the thread title to indicate there's a solution here.