Hi,

Try this:
Qt Code:
  1. QIcon qIcon(":/myResource/icon1.png");
To copy to clipboard, switch view to plain text mode 

Note that ":" points to the resource file.