title: Cannot open file in resources directory
body: <p>I've tested every natural iteration that I can imagine right now but still can not successfully open a file with a QFile object.  I've also tested placing the file in the ./resources directory and in the directory with the source file.</p>
  <p>I've cleaned my project in between each test and restarted Qt Creator as well.  I've also deleted my *.pro.user project configuration file and tested with new versions of that.</p>
  <pre><code>#include &lt;QFile&gt;
  #include &lt;QDebug&gt;
  ...
  //QFile input_file(&quot;./resources/testfile.txt&quot;);
  //QFile input_file(&quot;qrc:/10_graph.txt&quot;);
  //QFile input_file(&quot;testfile.txt&quot;);
  QFile input_file(&quot;:/testfile.txt&quot;);
  if (!input_file.exists()) {
    qDebug() &lt;&lt; &quot;File does NOT exist&quot;;
    exit(11);
  }
  </code></pre>
  <p><img src="https://i.stack.imgur.com/imJwu.png" alt="enter image description here" /></p>
  <h1>Qt Creator &gt;&gt; About</h1>
  <p>Qt Creator 3.1.1 (opensource)
  Based on Qt 5.2.1 (Clang 5.0 (Apple), 64 bit)</p>