title: Setting Character set for MSVC compiler from another IDE (Qt Creator)
body: <p>I'm trying to compile legacy code in Qt Creator using the Microsoft Visual C++ Compiler 10.0 (x86), and I am getting the classic error:</p>
  
  <blockquote>
    <p>cannot convert parameter 1 from 'char *' to 'LPCWSTR'</p>
  </blockquote>
  
  <p>Rather than edit the code (something I should not be doing, it is a 3rd party SDK), the solution is to go into Visual Studio general settings and change the character set to </p>
  
  <blockquote>
    <p>'Use Multi-byte character set'</p>
  </blockquote>
  
  <p>(as described <a href="http://www.codeproject.com/Articles/76252/What-are-TCHAR-WCHAR-LPSTR-LPWSTR-LPCTSTR-etc" rel="nofollow noreferrer">here</a> and <a href="https://stackoverflow.com/questions/5480588/cannot-convert-parameter-1-from-char-to-lpcwstr">here</a>)</p>
  
  <p>However, I'm not using the Visual Studio IDE and don't have that setting. So I need to know what setting that actually does in terms of code/compilation. Does it set a compiler flag or #define something? How can I achieve the same in Qt Creator?</p>