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

Unexpected result when renaming .qrc-file, depending on used kit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Cannot Reproduce
    • Affects Version/s: Qt Creator 4.5.1, Qt Creator 4.6.0
    • Fix Version/s: None
    • Environment:
      Ubuntu 17.10 64 bit

      Description

      1. Configure two kits, one using Qt 5.3.1 and another one using Qt 5.6.1.
        Using Qt 5.10.1 will lead to the same result as Qt 5.6.1.
      2. Create a new project of type "Qt Quick Application - Empty".
      3. Configure the project to use the kit with Qt 5.3.1.
      4. In the Projects view, right-click on the project's .qrc-file and select "Rename..." from the context menu.
      5. Change the file's extension to ".QRC", i.e. capitalize the letters.
        Nothing unexpected will happen.
      6. Change the file's extension back to ".qrc".
      7. Configure the project to use the kit with Qt 5.6.1.
      8. Repeat steps four and five.
        The file's name will change to something like "/tmp/build-untitled-5_6_1-Debug/qmake_qmake_immediate.qrc". This file does not even exist.

      Creator should not independently change a file's name. Should it really need to, then the result should be something usable.

      Found when updating Squish test tst_rename_file.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                kandeler Christian Kandeler
                Reporter:
                rlohning Robert Löhning
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes