title: Cannot open resource file
body: <p>Here is my code:</p>
  
  <pre><code>QFile test("://needle.png"); // also tried :/needle.png :\needle.png :\\needle.png
  
  if(test.open(QFile::ReadOnly)) {
      qDebug() &lt;&lt; "yay";
  } else {
      qDebug() &lt;&lt; "fail";
  }
  </code></pre>
  
  <p>I have this in my project file:</p>
  
  <pre><code>RESOURCES += Resources.qrc
  </code></pre>
  
  <p>Here is my QRC file:</p>
  
  <pre><code>&lt;RCC&gt;
      &lt;qresource prefix="/"&gt;
          &lt;file&gt;needle.png&lt;/file&gt;
      &lt;/qresource&gt;
  &lt;/RCC&gt;
  </code></pre>
  
  <p>I keep getting fail as output. Any ideas?</p>