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. Switching between definitions and declaration
Forum Updated to NodeBB v4.3 + New Features

Switching between definitions and declaration

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 4 Posters 512 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    Switching between definitions and declaration while the object is highlighted - by clicking on it - does not work.
    Using Qt 5.12 ...

    Axel SpoerlA JonBJ 2 Replies Last reply
    0
    • A Anonymous_Banned275

      Switching between definitions and declaration while the object is highlighted - by clicking on it - does not work.
      Using Qt 5.12 ...

      Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      @AnneRanch
      Is your question related to Qt Creator?

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      1
      • A Anonymous_Banned275

        Switching between definitions and declaration while the object is highlighted - by clicking on it - does not work.
        Using Qt 5.12 ...

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by JonB
        #3

        @AnneRanch
        Did you try F2 key when it is highlighted/your cursor is within the word? That is the key, also available on right-click context menu.
        If it does not work, are you on, say, a Qt function call which may not work if you do not have the source code available/findable by the editor.

        A 1 Reply Last reply
        2
        • A Offline
          A Offline
          Anonymous_Banned275
          wrote on last edited by
          #4

          YES Qt Creator editor

          Christian EhrlicherC 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
          • A Anonymous_Banned275

            YES Qt Creator editor

            Christian EhrlicherC Online
            Christian EhrlicherC Online
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @AnneRanch said in Switching between definitions and declaration:

            YES Qt Creator editor

            Then you should

            a) Tell us this...
            b) ... simply by creating the post in the correct sub-forum.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            1
            • JonBJ JonB

              @AnneRanch
              Did you try F2 key when it is highlighted/your cursor is within the word? That is the key, also available on right-click context menu.
              If it does not work, are you on, say, a Qt function call which may not work if you do not have the source code available/findable by the editor.

              A Offline
              A Offline
              Anonymous_Banned275
              wrote on last edited by
              #6

              @JonB Yes shift F2 does zilch....

              JonBJ 1 Reply Last reply
              0
              • A Anonymous_Banned275

                @JonB Yes shift F2 does zilch....

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #7

                @AnneRanch
                That is the key to switch between definition & declaration. Try it on one of you own function definitions & calls? If that works, maybe you are on something else where it cannot find the declaration?
                You might verify that the other useful function key, F4, switches you between .cpp and its .h file. Not quite the same but useful.

                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