title: Qt how to access resources
body: <p>Qt Creator give the possibility to attach some resource to the project.
  I created in the project directory a folder called: Images. inside i have the file splash1.jpg</p>
  
  <p>I created then the Resources file and attached the file as shown in the following figure:
  <img src="https://i.stack.imgur.com/mJPXa.png" alt="enter image description here"></p>
  
  <p>Which is now the correct way to access from code such a file?
  I tryed</p>
  
  <pre><code>QPixmap pixmap( "Images/splash1.jpg" );
  QPixmap pixmap( "./Images/splash1.jpg" );
  </code></pre>
  
  <p>but none of them worked.</p>
  
  <p>if i put just ./Images/splash1.jpg work at least if i compile by hand with qmake and make because has the correct path at runtime but no way to make it work within qt creator</p>
  
  <p>Any idea??</p>
  
  <p>Cheers,</p>