title: Linking to user32.lib in QTCreator
body: <p>I need the WINAPI function SendInput from user32.lib for my application and the compiler complains about undefined references to "SendInput".</p>
  
  <p>Thus, I tried to link user32.lib by right-clicking in the project file and then using the dialogue to add my file from the Windows SDK.
  QT creator has added the following lines to my .pro file:</p>
  
  <pre><code>    win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../Program Files 
  
      (x86)/Microsoft SDKs/Windows/v7.0A/Lib/ -lUser32
       else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../Program Files  
      (x86)/Microsoft SDKs/Windows/v7.0A/Lib/ -lUser32d
      else:symbian: LIBS += -lUser32
       else:unix: LIBS += -L$$PWD/../../../Program Files (x86)/Microsoft SDKs/Windows 
       /v7.0A/Lib/ -lUser32
  
      INCLUDEPATH += $$PWD/../../../Program Files (x86)/Microsoft SDKs/Windows/v7.0A
      DEPENDPATH += $$PWD/../../../Program Files (x86)/Microsoft SDKs/Windows/v7.0A
  </code></pre>
  
  <p>Unfortunately, although all the paths are there, the compiler seems to ignore it.</p>
  
  <p>I keep getting "Undefined reference to SendInput" errors.
  Thanks</p>