Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-12811

Page organization option generates incorrect assets paths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • QDS 4.6.0
    • QDS 4.5
    • Qt Bridge Importer
    • None
    • Windows
    • QDS Berlin - 2024 Week 29/30

    Description

      Importing a project with activated rPath page organization generates Image {} items that are refering to incorrect assets path.

      In the attached project, importer will generate an import directory "org_demo" with 2 directories inside: "assets" and "Page 1". Component in "org_demo/Page 1" are using assets from the "org_demo/assets", but the generated path is "assets/file.png", instead of the expected relative "../assets/file.png". 

      With the invalid source path, Image items are invisible and Live preview might not be loaded.

      Attachments

        1. image-2024-05-22-18-58-22-330.png
          97 kB
          Aleksei German
        2. image-2024-05-22-18-58-51-791.png
          126 kB
          Aleksei German
        3. org_demo.qtbridge
          33 kB
          Aleksei German

        Issue Links

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

          Activity

            People

              vikas Vikas Pachdha
              algerman Aleksei German
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes