Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Classes don't highlight/link in editor (c++)
Forum Updated to NodeBB v4.3 + New Features

Classes don't highlight/link in editor (c++)

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nimjox
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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?

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nimjox
        wrote on last edited by
        #3

        No I didn't, you sir have made my day. Thank you so much.

        1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Glad I could help.
          Please prepend [SOLVED] to the thread title to indicate there's a solution here.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved