Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-185

Module B resources can not be accessed in Module A by using paths

    XMLWordPrintable

Details

    Description

      Given a module Module1 that have a resource image1.png added to it in the module's qmlproject file

       

      if main.qmlproject is the main project configuration that imports Module1. it is not possible to access image1.png in Qml files inside the project

      Image

      {     source: "image1.png" // does not work }

       

      Note: if the resource path is bundled in a ModuleExports.qml singleton file, defined in module1 and then used from the main applicaiton it works as expected

      Image

      {     source: ModuleExports.image1 }

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              yasser Yasser Grimes
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes