title: is it possible to build 64 bit Qt applications using MS Visual Studio 2010
body: <p>I'm having serious problems with building 64 bit Qt libraries on Windows 7,
  you won't believe me but I've tried to build with almost all possible combinations but error is always the same:
  always same link errors.</p>
  
  <p>I've also tried all possible combinations using property pages and adding custom properties.
  all work fine with x86 build libraries but not with 64 bit one.</p>
  
  <p>did any of you have luck building 64 bit Qt on Windows 7 using visual studio 2010.</p>
  
  <p>by the way I'm using this:
  Windows 7 enterprise SP1,
  Visual Studio 2010 ultimate SP1,
  Qt 4.7 sources (which only work when build using 32 bit MSVS cmd)</p>
  
  <p>here are some of output errors when building Qt applications with 64 bit profile in VS 2010:</p>
  
  <blockquote>
    <p>Error 1   error LNK2019: unresolved external symbol
    "__declspec(dllimport) public: virtual __cdecl
    QApplication::~QApplication(void)" (__imp_??1QApplication@@UEAA@XZ)
    referenced in function main   C:\Users\Admin\Documents\Visual Studio
    2010\Projects\VisualStudio\Qt\Qt.obj Error    2   error LNK2019: unresolved
    external symbol "__declspec(dllimport) public: static int __cdecl
    QApplication::exec(void)" (__imp_?exec@QApplication@@SAHXZ) referenced
    in function main  C:\Users\Admin\Documents\Visual Studio
    2010\Projects\VisualStudio\Qt\Qt.obj Error    3   error LNK2019: unresolved
    external symbol "__declspec(dllimport) public: void __cdecl
    QWidget::show(void)" (__imp_?show@QWidget@@QEAAXXZ) referenced in
    function main C:\Users\Admin\Documents\Visual Studio
    2010\Projects\VisualStudio\Qt\Qt.obj Error    4   error LNK2019: unresolved
    external symbol "__declspec(dllimport) public: static void __cdecl
    QApplication::setActiveWindow(class QWidget *)"
    (__imp_?setActiveWindow@QApplication@@SAXPEAVQWidget@@@Z) referenced
    in function main  C:\Users\Admin\Documents\Visual Studio
    2010\Projects\VisualStudio\Qt\Qt.obj</p>
  </blockquote>