title: Having difficulties with resource file in qt
body: <p>when working with Qt Creator and developing my project, I've added to a resource file my txt file which contains some information. I thought that this file will be incorporated into exe file and I won't have to supply this file with my exe file. Now I'm running this exe file of my project and I'm getting info that the txt file couldn't be found (although everything works perfectly when run via Qt creator). Is there any way to make it work as so I don't have to provide this txt file with my program?<br>
  EDIT:<br>
  Resource file:  </p>
  
  <pre><code>&lt;RCC&gt;
      &lt;qresource prefix="/settings"&gt;
          &lt;file&gt;Resources/setting_files/accepted_file_extensions.txt&lt;/file&gt;
      &lt;/qresource&gt;
  &lt;/RCC&gt;
  </code></pre>
  
  <p>And I'm accessing it:  </p>
  
  <pre><code>boost::filesystem3::ifstream fin("./Resources/setting_files/accepted_file_extensions.txt");
  </code></pre>