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

Show resource files in project tree

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • Qt Creator 2.7.2
    • Quick / QML Support
    • None

    Description

      https://codereview.qt-project.org/#change,61286 brought up this problem again. Currently most of the QML examples have the QML files listed in OTHER_FILES, because otherwise Creator doesn't show them in the QML section of the project. But it should not be mandatory. One or more of the following would help:

      1) Creator could find the QML files without being told
      2) if they are in the qrc file then they should be shown in the project tree too
      3) if the project has both a .pro and a .qmlproject file, Creator could find the QML files based on the specifications there (although that is also a confusing setup, and I'd hope that a .qmlproject file would not be necessary alongside every .pro file)
      4) there could be a QML_FILES variable to replace the OTHER_FILES. But this also seems redundant because many projects will have a qrc and/or qmlproject. In order to be worthwhile it would make sense for qmake to do something useful with this variable too.
      5) make it possible to specify the qml files via wildcards or recursive search of a subdirectory in the .pro, the same as you can do in the .qmlproject

      Attachments

        Issue Links

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

          Activity

            People

              dt Daniel Teske
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes