Springe zum Inhalt

Here's is a small guide about how to use Qt 4.7.3 with Visual Studio 2010 and static linking. With this approach you can generate a single exe without dependencies to any Qt dlls or msvcr100.dll Prerequisites: Install Visual Studio 2010 Install Visual Studio 2010 SP1 Download Qt Source: http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.3.zip… Weiterlesen

This error appears if you mix lib/obj files some which are built as release and some which are built as debug. Check your library dependencies. Often lib/obj files for debug purposes end with an 'd'. error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' Just for the curiosity: _ITERATOR_DEBUG_LEVEL = 0 (in release mode) _ITERATOR_DEBUG_LEVEL = 1 (in release mode if _SECURE_SCL is defined) _ITERATOR_DEBUG_LEVEL = 2 (in debug mode)… Weiterlesen