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. Qt Creator 4.6 cannot open qrc file from Locator
Qt 6.11 is out! See what's new in the release blog

Qt Creator 4.6 cannot open qrc file from Locator

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 3 Posters 1.7k 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.
  • S Offline
    S Offline
    Sivan
    wrote on last edited by
    #1

    I just recently upgraded to QtCreator 4.6 from QtCreator 4.2 and realized that I am unable to open any *.qrc file from the Locator (Command + K). Is there any special configuration that I have to do?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      hi
      In what way open ?
      if i command+k
      and then f (for file system)
      it can list any qrc file. ( and open if you press enter)

      I have not noticed any change and Locator is my best friend. (and F2)

      Do you mean qrc added to project ?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sivan
        wrote on last edited by
        #3

        Hi @mrjj , in QtCreator 4.2, I don't even have to use f (for file system). Just using Command+k and type the fileName.qrc will already show the file in the dropdown list of the locator. Then I just have to choose that and hit Enter and it will open it directly in the editor.

        And yes, this qrc file is added to the project via .pri file

        aha_1980A 1 Reply Last reply
        0
        • S Sivan

          Hi @mrjj , in QtCreator 4.2, I don't even have to use f (for file system). Just using Command+k and type the fileName.qrc will already show the file in the dropdown list of the locator. Then I just have to choose that and hit Enter and it will open it directly in the editor.

          And yes, this qrc file is added to the project via .pri file

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Sivan the 'f' filter is enabled by default, so you don't need to type it. could you check if for some reason it's not enabled anymore for you? (should be somewhere in Tools > Options)

          Qt has to stay free or it will die.

          S 1 Reply Last reply
          1
          • aha_1980A aha_1980

            @Sivan the 'f' filter is enabled by default, so you don't need to type it. could you check if for some reason it's not enabled anymore for you? (should be somewhere in Tools > Options)

            S Offline
            S Offline
            Sivan
            wrote on last edited by
            #5

            @aha_1980 No, that doesn't help. Even when I manually type f, I am still unable to find that file. Only once I manually right-click and open in the Editor (from Project directory) then I am unable to find that file.

            Basically I can only find *.qrc file from Locator if it is in my Opened files

            aha_1980A 1 Reply Last reply
            0
            • S Sivan

              @aha_1980 No, that doesn't help. Even when I manually type f, I am still unable to find that file. Only once I manually right-click and open in the Editor (from Project directory) then I am unable to find that file.

              Basically I can only find *.qrc file from Locator if it is in my Opened files

              aha_1980A Offline
              aha_1980A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Sivan then it sounds like a bug?! could you please create a report at bugreports.qt.io (best with a minimal example for reproducing)?

              please provide a link to the report here.

              Thanks

              Qt has to stay free or it will die.

              1 Reply Last reply
              1
              • S Offline
                S Offline
                Sivan
                wrote on last edited by
                #7

                I have created a report as requested https://bugreports.qt.io/browse/QTCREATORBUG-20220

                1 Reply Last reply
                2
                • S Offline
                  S Offline
                  Sivan
                  wrote on last edited by
                  #8

                  This issue is fixed in Qt Creator 4.6.1

                  1 Reply Last reply
                  1

                  • Login

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