title: Porting from Visual Studio Application to Qt Application
body: <p>I have one project whose .SLN file is there and we are able to run the project on Visual Studio 2008 and In which we have qt extension added that we are using In our project. </p>
  
  <p>I have tried to create .pro and pri using following link: 
  <a href="https://stackoverflow.com/questions/2088315/how-to-convert-a-regular-win32-vc-vcproj-project-to-a-qt-project">Converting .Sln Project to .pro Project</a>  </p>
  
  <p>I have able see related lib and manage to add required file. But the Code is too specific to VS. </p>
  
  <p>I am getting Issue Like : </p>
  
  <p>1) Cannot Convert from TCHAR to Const Char* </p>
  
  <p>2)cc1plus.exe: error: one or more PCH files were found, but they were invalid</p>
  
  <p>3)cc1plus.exe: error: use -Winvalid-pch for more information</p>
  
  <p>4)cc1plus.exe: fatal error: release\StdAfx.h: No such file or directory</p>
  
  <p>5) error: conflicting declaration of C function 'int WinMain(HINSTANCE, HINSTANCE, LPTSTR, int)'
   int _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)</p>
  
  <p>From these I came to conclusion that the code is more specific to Visual Studio.</p>
  
  <p>I am using following tools pls correct me If I am not using correct version:</p>
  
  <p>1)Qt Creator 3.6.1
    Based on Qt 5.6.0 (MSVC 2013, 32 bit)</p>
  
  <p>Is there any specific way to port code from VS2008 to Qt 5.6 or 5.7.</p>