title: MySQL plugin for Qt 4.8.0 build fails
body: <p>I am trying to build the MySQL plugin for a Qt project. I am following the instructions given elsewhere, but it appears that the makefile which is generated by qmake has an error and the nmake to generate the DLL fails.</p>
  
  <p>Does anyone have an alternate procedure?</p>
  
  <p>And does anyone know why we simply can't download the MySQL DLL for this? Why does everybody have to build it?</p>
  
  <p>Here is the process;</p>
  
  <pre><code>qmake "INCLUDEPATH+=c:/'Program Files'/MySQL/'Connector C 6.0.2'/include" "LIBS+=-Lc:/'Program Files'/MySQL/'Connector C 6.0.2'/lib/debug " mysql.pro
  
  c:\QtSDK\QtSources\4.8.0\src\plugins\sqldrivers\mysql&gt;nmake debug
  
  Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
  Copyright (C) Microsoft Corporation.  All rights reserved.
      "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f Makefile.Debug
  
  Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
  
  Copyright (C) Microsoft Corporation.  All rights reserved.
  
      rc -D_DEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3
  DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -fo debug\qsqlmysqld_resource.res qsqlmysqld_resource.rc
  
  'rc' is not recognized as an internal or external command,
  operable program or batch file.
  NMAKE : fatal error U1077: 'rc' : return code '0x1'
  Stop.
  NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\nmake.exe"' : return code '0x2'
  Stop.
  </code></pre>