title: Converting QString to char*
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2523765/qstring-to-char-conversion">QString to char conversion</a>  </p>
  </blockquote>
  
  
  
  <p>I have a function (fopen in STL) that gives a char* argument as a path in my computer, but I must use QString in that place so it doesn't work.</p>
  
  <p>How can I convert QString to char* to solve this problem?</p>