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

Opening QML file shows it in the Resource section of the project tree

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.1.0
    • Quick / QML Support
    • None
    • Qt Creator 3.1.0 (opensource)
      Based on Qt 5.2.1 (GCC 4.6.1, 64 bit)

      Built on Apr 14 2014 at 15:03:42

      From revision 52592aa879

      Running on Kubuntu 14.04 64 bit

      Unless the Resources part of the tree actually reflects the tree structure of referenced files, this behaviour is never what I want.

      Our application has used plugins with QML files in resource files almost since the beginning (the old manual way, I'm not entirely certain of how this qrc-by-default thing works).

      The QML files are structured in a hierarchy, whereas they are added wholesale on the root to the resource file. So when I open a QML file that is in the resource file to edit it, whether from the QML tree structure or Ctrl-k, the project view opens up the resource file and selects the file there.

      1) This then clutters up the project view since I already have interesting directories open elsewhere in it.
      2) Structure no longer present in the qrc, it is pretty much useless as a discovery tool to find "nearby" files.

      (All in all I find the new resource behaviour rather annoying, such as not opening the resource file in text edit mode when clicking on it.)

      References QTCREATORBUG-12280

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

            dt Daniel Teske
            larsivi Lars Ivar Igesund
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes