Resources cannot be read under Designer
I have created QWidget, resources and set the prefix as /files and add one image,
then in StyleSheet Editor I set
Code:
background-image: url(:/files/m_bottom.png)
the background should be seen - it's not, so I used absolute path by what I have avoided resources:
Code:
background-image: url(/root/Desktop/files/m_bottom.png);
this way the background is displayed
the same issue under Windows - but much worse, I can't set any path which makes Designer to display the image, but it's fine during run-time.
That forced me to use Designer under X11 - still the half expected not working as should
Re: Resources cannot be read under Designer
Is the resource file associated with the form you are editing in Designer? Do you see the images in resource editor in Designer?