title: Qt Doesn't Seem to Include MinGW Includes
body: <p>My problem today is in compiling a QT application from the command line on Windows using Qt 5.1.0 with MinGW. My Qt installation is at <code>C:\Qt\Qt5.1.0-MinGW</code>.</p>
  
  <p>It compiles fine in Qt Creator, but from the command line it seems to not include headers from <code>C:\Qt\Qt5.1.0-MinGW\Tools\mingw48_32\i686-w64-mingw32\include</code>, which I <code>#include</code> in some of my code.</p>
  
  <p>For example, I <code>#include &lt;Ws2tcpip.h&gt;</code>, which is in <code>C:\Qt\Qt5.1.0-MinGW\Tools\mingw48_32\i686-w64-mingw32\include</code>, in one of my C++ files, and then I use the function <code>getaddrinfo</code>, which is declared in <code>Ws2tcpip.h</code>.</p>
  
  <p>This compiles just fine in Qt Creator, but compiling from the command line I get <code>error: 'getaddrinfo' was not declared in this scope</code>.</p>
  
  <p>This is just one example, and I have a couple of others where things defined in header files residing in the <code>i686-w64-mingw32/include</code> folder seem to not be defined when compiling on the command line.</p>
  
  <p>Why would it compile any differently between Qt Creator and the command line, and how can I fix this?</p>