Instructions
The Qt4 binary on Windows conflicts with the boost pro binaries. The key problem is the -Zc:wchar_t compiler optionI used Microsoft Visual C++ 2010 Express
Download the source code
In "mkspecs\win32-msvc2010\qmake.conf" change:
QMAKE_CFLAGS = -nologo -Zm200 -Zc:wchar_t-
to
QMAKE_CFLAGS = -nologo -Zm200 -Zc:wchar_t
Then configure (is an .exe), nmake release. Done! Then add the includes and library into your own application project.
Helpful Links
- http://stackoverflow.com/questions/8197583/how-to-compile-qt-with-zcwchar-t
- http://stackoverflow.com/questions/8196820/linker-error-when-using-qt-and-boost
- http://www.qtforum.org/article/26803/visual-studio-update-problems.html
- http://stackoverflow.com/questions/12714660/linker-error-lnk2019-when-linking-boost-1-51-0-dynamically-in-vs2010