Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.5.0
-
None
Description
Using the Visual studio integration:
Add a Prefix to the .qrc file using the Resource editor. For example /MyPrefix
Then add an image file (myImage.png) to this prefix. The file should be located in a subfolder for example Resources.
You can then access this file in your code by:
":/MyPrefix/Resources/myImage.png"
Then add an alias for this image called myImage.png
Now you can only access this resource by:
":/MyPrefix/myImage.png"
And the full path can no longer be used.