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

Import qml file to new qt quick application issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • None
    • Qt Creator 2.2.0-beta
    • Quick Designer
    • None
    • Windows XP SP3

    Description

      Reproduction steps:
      1.Create a new Qt Quick Application called "testImport" using wizard and import a existed qml file to the project

      /***************************************************************************/
      The qml file has beed created in path:" C:\QtSDK\myProject\testImportQml\testQmlUi.qml"
      Create the qt quick application in path: "C:\QtSDK\myProject\testImport"
      And import the testQmlUi.qml to the project testImport.pro
      Image

      { id: imgState x: topLeftRect.x y: topLeftRect.y width: 64 height: 61 source: "../../../Documents and Settings/All Users/Documents/My Pictures/Sample Pictures/Sunset.jpg" }

      /***************************************************************************/
      2.Double click the imported qml file and activate the qml designer
      3.Compile and run the application

      Expected result:
      The image can't find the image source path

      Actual result:
      In Designer pageļ¼Œthe Image element shows the source image. But during running, the source image can't be found.

      Comments:
      SDKTestRound6

      Attachments

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

        Activity

          People

            bubke Marco Bubke
            qiiiiqia_tieto Qi Qiang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes