title: Qt SOAP install
body: <p>I've ran into problems installing the LGPL version of the Qt SOAP component:</p>
  
  <p><a href="http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Utilities/qtsoap/" rel="nofollow noreferrer">http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Utilities/qtsoap/</a></p>
  
  <p>I've followed the instructions in INSTALL but can't seem to get it to build the DLL.</p>
  
  <hr>
  
  <h2>Unpacking and installation</h2>
  
  <ol>
  <li><p>Unpacking the archive (if you have not done so already).</p>
  
  <p>On Unix and Mac OS X (in a terminal window):</p>
  
  <p>cd your-install-dir
  gunzip some-package.tar.gz
  tar xvf some-package.tar</p>
  
  <p>This creates the subdirectory some-package containing the files.</p>
  
  <p>On Windows:</p>
  
  <p>Unpack the .zip archive by right-clicking it in explorer and
  choosing "Extract All...". If your version of Windows does not
  have zip support, you can use the infozip tools available
  from www.info-zip.org.</p>
  
  <p>If you are using the infozip tools (in a command prompt window):
  cd your-install-dir
  unzip some-package.zip</p></li>
  <li><p>Configuring the package.</p>
  
  <p>The configure script is called "configure" on unix/mac and
  "configure.bat" on Windows. It should be run from a command line
  after cd'ing to the package directory. </p>
  
  <p>You can choose whether you want to use the component by including
  its source code directly into your project, or build the component
  as a dynamic shared library (DLL) that is loaded into the
  application at run-time. The latter may be preferable for
  technical or licensing (LGPL) reasons. If you want to build a DLL,
  run the configure script with the argument "-library". Also see
  the note about usage below.</p>
  
  <p>(Components that are Qt plugins, e.g. styles and image formats,
  are by default built as a plugin DLL.)</p>
  
  <p>The configure script will prompt you in some cases for further
  information. Answer these questions and carefully read the license text
  before accepting the license conditions. The package cannot be used if
  you do not accept the license conditions.</p></li>
  <li><p>Building the component and examples (when required).</p>
  
  <p>If a DLL is to be built, or if you would like to build the
  examples, next give the commands</p>
  
  <pre><code>qmake
  make          [or nmake if your are using Microsoft Visual C++]
  </code></pre>
  
  <p>The example program(s) can be found in the directory called
  "examples" or "example".</p>
  
  <p>Components that are Qt plugins, e.g. styles and image formats, are
  ready to be used as soon as they are built, so the rest of this
  installation instruction can be skipped.</p></li>
  </ol>
  
  <hr>
  
  <p>I get the following error when running nmake:</p>
  
  <p>C:\Qt\qtsoap-2.6-opensource>nmake</p>
  
  <p>Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
  Copyright (C) Microsoft Corporation.  All rights reserved.</p>
  
  <p>cd buildlib\ &amp;&amp; "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\nmake.exe" -f Makefile</p>
  
  <p>Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
  Copyright (C) Microsoft Corporation.  All rights reserved.</p>
  
  <p>"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\nmake.exe" -f Makefile.Debug all</p>
  
  <p>Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
  Copyright (C) Microsoft Corporation.  All rights reserved.</p>
  
  <p>C:/Qt/2009.03/qt/bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_QTSOAP_EXPORT -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"....\2009.03\qt\include\QtCore" -I"....\2009.03\qt\include\QtNetwork" -I"....\2009.03\qt\include\QtGui" -I"....\2009.03\qt\include\QtXml" -I"....\2009.03\qt\include" -I"..\src" -I"....\2009.03\qt\include\ActiveQt" -I "debug" -I"....\2009.03\qt\mkspecs\default" -D__GNUC__ -DWIN32 ..\src\qtsoap.h -o debug\moc_qtsoap.cpp</p>
  
  <p>g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_QTSOAP_EXPORT -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -D QT_CORE_LIB -DQT_THREAD_SUPPORT -I"....\2009.03\qt\include\QtCore" -I"....\2009.03\qt\include\QtNetwork" -I"....\2009.03\qt\include\QtGui" -I"....\2009.03\qt\include\QtXml" -I"....\2009.03\qt\include" -I"..\src" -I"....\2009.03\qt\include\ActiveQt" -I"debug" -I"....\2009.03\qt\mkspecs\default" -o debug\moc_qtsoap.o debug\moc_qtsoap.cpp</p>
  
  <p>g++.EXE: debug\moc_qtsoap.cpp: No such file or directory
  g++.EXE: no input files
  NMAKE : fatal error U1077: 'C:\Qt\2009.03\mingw\bin\g++.EXE' : return code '0x1'</p>
  
  <p>Stop.
  NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
  VC\bin\nmake.exe"' : return code '0x2'
  Stop.
  NMAKE : fatal error U1077: 'cd' : return code '0x2'
  Stop.</p>
  
  <p>C:\Qt\qtsoap-2.6-opensource></p>
  
  <p>Any help on solving this would be much appreciated.</p>