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

.qmlproject file seems useless

    XMLWordPrintable

Details

    • User Story
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • None
    • Quick / QML Support
    • None

    Description

      I have played around with trying to use the qmlproject file to provide location
      information for qml and image resources. Any changes I made to that
      file have had not impact from what I can tell.

      I was able to add statement: import "./qml" to my main qml file and it
      found the qml files in that folder. Removing that import and modifying
      the QmlFiles property had no impact.

      I was able to reference the images in the "img" subdirectory
      by naming the source as "img/xxxx.png". I tried to add an import
      in the main qml file and to modify the ImageFiles property in the
      qmlproject file but none of those resulted in locating a file with
      just the file name.

      I tried moving those resources to a directory above the current
      project. I tried several methods referencing "../img" and "../qml"
      but none of those different combinations worked.

      And with all of that playing around, again the main qml project file
      is no longer displayed as a member of the project

      Attachments

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              lawrence.emke Lawrence Emke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes