title: Adding MFC support to a Qt project
body: <p>I have a Qt project and would like to use an external library that includes "afxstr.h".
  Problem is that whenever I compile after linking to the lib and including their header, I get an error:</p>
  
  <pre><code>#error afxstr.h can only be used in MFC projects.  Use atlstr.h
  </code></pre>
  
  <p>Of course, my project is not an MFC project and I can't use atlstr.h instead because it's not my library.</p>
  
  <p>I'm looking for a quick solution!</p>
  
  <p>I'm using VS2010.</p>
  
  <p>The lib in question is the <a href="http://www.interactivebrokers.com/php/apiUsersGuide/apiguide.htm">Interactive Brokers API</a>.</p>