Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to "follow symbol" into c file
Forum Updated to NodeBB v4.3 + New Features

How to "follow symbol" into c file

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 3 Posters 1.5k Views 2 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.
  • B Offline
    B Offline
    bupthebroker
    wrote on last edited by
    #1

    Hi,
    i am working on a legacy project on a legacy platform. All the definitions are in C files. The "follow symbol" option does not work.

    I tried with eclipse and it is able to follow the symbols in the project.

    How to make this work in QT Creator as well?

    Linux Mint, QT Creator 3.2.2

    Thanks!

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! Update to the latest version of Qt Creator and try again.

      1 Reply Last reply
      1
      • B Offline
        B Offline
        bupthebroker
        wrote on last edited by bupthebroker
        #3

        Hi,
        where can i download the latest QT Creator for 32-bit Linux Mint?

        Ok, tried with 4.2.1. in Windows, the issue still exists. I imported a c project an i use QT Creator just for editing. I can see that it populated the .includes fiels with all the correct directories but F2 still does not work.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          There's no pre-built 32bit Linux package for Qt Creator. You'd have to build it by hand if Mint doesn't propose a more recent version.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • B Offline
            B Offline
            bupthebroker
            wrote on last edited by bupthebroker
            #5

            Hi,
            i am now using Qt Creator 4.2.1. The issue still persists. I checked that all the folders that contain c files have been added to the .includes file.

            Is there anything else i can do to resolve this issue? Is Qt able to handle symbol resolving if header files are not included at the top of c files?

            P.S. i cannot change the way it is made, it is a legacy platform which works by including c files. The additional c files themselves don't include anything.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Then that's likely a use case not supported by Qt Creator's code model.

              You should bring this to the Qt Creator mailing list. You'll find there Qt Creator's developers/maintainers. This forum is more user oriented.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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