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

.qrc file disappears when changing extension

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • Qt Creator 4.10.2, Qt Creator 4.11.0-beta2
    • Ubuntu 18.04 LTS 64 bit

    Description

      1. Create a new project of type "Qt Quick Application - Empty".
        You'll have to choose the minimal required Qt version "5.10".
      2. Configure the project to use a kit with Qt 5.10.1.
      3. In the Projects view, right-click on the project's .qrc-file and select "Rename..." from the context menu.
      4. Change the file's extension to ".QRC", i.e. capitalize the letters.
        After the project was parsed again, the file will disappear from the project tree completely. It will not move to "Other files".

      After renaming, the file should still be listed in the project tree. With kits using newer versions of Qt, this seems to work correctly.

      Found when updating Squish test tst_rename_file.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-23167
          # Subject Branch Project Status CR V

          Activity

            People

              kandeler Christian Kandeler
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes