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. QT Creator: navigate to file path/line number by external tool
Qt 6.11 is out! See what's new in the release blog

QT Creator: navigate to file path/line number by external tool

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 587 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.
  • alik_coA Offline
    alik_coA Offline
    alik_co
    wrote on last edited by alik_co
    #1

    Is there a way to tell QT Creator to navigate to file path/line number provided by external tool?
    I'm using QT Creator v6.0.1

    Thanks in advance,

    Chris KawaC 1 Reply Last reply
    0
    • alik_coA alik_co

      Is there a way to tell QT Creator to navigate to file path/line number provided by external tool?
      I'm using QT Creator v6.0.1

      Thanks in advance,

      Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Yes, you can use the command line for this, e.g.

      qtcreator C:\somefile.cpp:10:2
      

      opens the file at line 10, column 2. If you want to use existing instance add -block param.

      alik_coA 1 Reply Last reply
      2
      • Chris KawaC Chris Kawa

        Yes, you can use the command line for this, e.g.

        qtcreator C:\somefile.cpp:10:2
        

        opens the file at line 10, column 2. If you want to use existing instance add -block param.

        alik_coA Offline
        alik_coA Offline
        alik_co
        wrote on last edited by
        #3

        @Chris-Kawa Awesome, thanks!

        1 Reply Last reply
        0
        • alik_coA alik_co has marked this topic as solved on

        • Login

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