I want to set a background image for pushbutton,I can do it by using image file from the resource but I want to be able to reference an image file which is not part of resource (.qrc) file. How can I do it? I have tried specifying following code in .ui file directly but it doesn't work.
Qt Code:
<property name="styleSheet"> <string notr="true">border-image: url(grey_button.JPG);</string> </property>To copy to clipboard, switch view to plain text mode
Bookmarks