Details
-
User Story
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
None
-
None
Description
I have played around with trying to use the qmlproject file to provide location
information for qml and image resources. Any changes I made to that
file have had not impact from what I can tell.
I was able to add statement: import "./qml" to my main qml file and it
found the qml files in that folder. Removing that import and modifying
the QmlFiles property had no impact.
I was able to reference the images in the "img" subdirectory
by naming the source as "img/xxxx.png". I tried to add an import
in the main qml file and to modify the ImageFiles property in the
qmlproject file but none of those resulted in locating a file with
just the file name.
I tried moving those resources to a directory above the current
project. I tried several methods referencing "../img" and "../qml"
but none of those different combinations worked.
And with all of that playing around, again the main qml project file
is no longer displayed as a member of the project
Attachments
Issue Links
- relates to
-
QDS-2624 What is the syntax for adding elements to a project.qmlproject file?
- Closed