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

Image files can't be shown in Quick project, missing in qrc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 3.1.0
    • None
    • Windows 7 64 bit

      1. Create a new Qt Quick Application project.
      2. Open the project's qml file in Design mode.
      3. Drag an Image item into the GUI.
      4. Select an image file to show in the Image item.
      5. Run the project.
        The image file won't be shown because it was not added to the project's qrc file:
        qrc:///main.qml:21:5: QML Image: Cannot open: qrc:///Screenshots/5.png
        

      When selecting an image file, Creator should offer to add this file to the qrc file and, if needed, copy it.

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

            thohartm Thomas Hartmann
            rlohning Robert Löhning
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes