title: Qt + VS2010 compiler: How to create a simple project that would use compiled for VC staticaly linked boost?
body: <p>How to create a simple project that would use compiled for VC staticaly linked boost (that is somewhhere like C:/boost)? How shall my project file look like?</p>
  
  <p>I tried to add to .pro</p>
  
  <pre><code>INCLUDEPATH += C:/BOOST/include/boost-1_49
  DEPENDPATH += C:/BOOST/lib
   LIBS += -LC:/BOOST/lib -llibboost_system-vc100-mt-sgd-1_49 -llibboost_thread-vc100-mt-sgd-1_49
  </code></pre>
  
  <p>but I get:</p>
  
  <pre><code>msvcprtd.lib(MSVCP100D.dll):-1: ERROR: LNK2005: "public: __thiscall std::_Container_base12::~_Container_base12(void)" (??1_Container_base12@std@@QAE@XZ) already defined in libboost_system-vc100-mt-sgd-1_49.lib(error_code.obj)
  
  msvcprtd.lib(MSVCP100D.dll):-1: ERROR: LNK2005: "public: __thiscall std::_Container_base12::_Container_base12(void)" (??0_Container_base12@std@@QAE@XZ) already defined in libboost_system-vc100-mt-sgd-1_49.lib(error_code.obj)
  
  msvcprtd.lib(MSVCP100D.dll):-1: ERROR: LNK2005: "public: void __thiscall std::_Container_base12::_Orphan_all(void)" (?_Orphan_all@_Container_base12@std@@QAEXXZ) already defined in libboost_system-vc100-mt-sgd-1_49.lib(error_code.obj)
  
  :-1: WARNING: LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
  
  debug\loader.exe:-1: ERROR: LNK1169: one or more multiply defined symbols found
  </code></pre>
  
  <p>when I try to compile something like:</p>
  
  <pre><code>#include &lt;QtGui/QApplication&gt;
  #include &lt;iostream&gt;
  
  #include &lt;boost/filesystem.hpp&gt;
  
  int main(int argc, char *argv[])
  {
      boost::filesystem::path p;
  }
  </code></pre>
  
  <p>So I wonder how shall I change my .proo file to link correctly to static boost compiled for VC using Qt Creator that is using VS compiler?</p>