Import resources in Qt Creator
-
Hi All,
I am trying to access the resources file (.qrc file) within the Style Sheet section of Qt Creator to add a border-image to my QPushButton. The filetype I am using for my application is 'Qt Designer Form'.
When I open the Style Sheets editor, I can click the down arrow next to the 'Add Resource' button and there is an option to select 'border-image' (see attached screenshot).
Once the 'border-image' option is selected, another window opens which is titled 'Select Resource'. In this window I am not able to see anything from within my resources file (see attached screenshot).
I have set up a resources file by taking the following steps:
File >> New File or Project >> Qt>>Qt Resources File.The resources file itself seems to be working correctly as I have been able to add icons/images without any issue (see attached screenshot).
Could someone please help me access this resource file. I can't find an answer to this question anywhere online.
Thank you!  
-
Hi
After you added the files to the res file, do you build the project ?(sorry the screenshots cant be uploaded here directly as its broken)