I have installed Visual Studio 2010, Windows SDK and Qt 5.2.1.
I created an empty qt widgets application project with Qt Creator but it doesn’t build, giving me numerous linking errors:
MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol __imp__EncodePointer@4 referenced in function _pre_c_init
MSVCRTD.lib(atonexit.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
and so on.
I also tried rebuilding some examples – and they gave different error:
c:\qt\qt5.2.1\5.2.1\src\qtbase\include\qtcore\../../src/corelib/global/qt_windows.h(71) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
I have no clue what to do, I tried adding paths to windows.h in PATH and INCLUDE system variables (with no success).
↧