
Originally Posted by
high_flyer
If you use my project with resouces the way you suggested above, does it work for you?
Of course it works --- read carefully the beginning of the last sentence in my previous post (the one about removing leading slashes).
But what about when I choose a pixmap from designer?
It should work too, but I had to fix .qrc at least once.
Here's example of my .qrc file:
<RCC>
<qresource prefix="/" >
<file>data/ciexyz</file>
...
<file>icons/open.png</file>
...
</qresource>
</RCC>
<RCC>
<qresource prefix="/" >
<file>data/ciexyz</file>
...
<file>icons/open.png</file>
...
</qresource>
</RCC>
To copy to clipboard, switch view to plain text mode
I can access these resources using ":/data/ciexyz" or ":/icons/open.png" and they work also with Designer.
Bookmarks