Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt for MCUs 2.5
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
- relates to
-
QTMCU-184 Unable to use a the Loader with a Qml component imported from other modules
- Closed