Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-17521

Qt Creator is displaying qrc files (along with their content) in "source" directory

XMLWordPrintable

    • 86e16c9e142c9b8bc7ae7f98aeb51892eab36fa3, qtdeclarative/f88ac9d7e35167a954881e5c81e1a4ce543f54ed

      I have a strange problem, that is occuring in many of my projects that Qt Creator is listing my .qrc files and their contents as "source" and is displaying them along with .cpp files ("Project" tab).

      I am not sure but I have found two things that may be the cause of the problem:

      • adding CONFIG += qtquickcompiler to .pro file
      • adding to RESOURCES in .pro file a .qrc file that is outside of the project directory. Not sure if the path needs to start with "../" or "../../" to cause the problem.

      In the attached zip .pro file is located in A/AA/AAA directory. The project works well with qtquickcompiler disabled (on Debug), but does not otherwise (on Release). Switch build types to see results.

        1. testQrc.zip
          781 kB
        2. qtdiag_mac.txt
          5 kB
        3. qtdiag_nuc.txt
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            fhazubski Filip Hazubski
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes