[Solved] Error compiling 4.8.0 on Win7x64, VS2010 SP1
-
Followed the instructions to the T here: http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MSVC
Getting following errors (snippet), I'm no C++ expert so can't figure out why the types are not appearing defined.
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f Makefile.Release
cl -c -FIqt_pch.h -Yuqt_pch.h -Fptmp\obj\release_shared\QtNetwork_pch.pch -nologo -Zm200 -Zc:wchar_t -O2 -MD -W3 -w34100 -w34189 -MP -GR -EHsc -GL -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -D_USE_MATH_DEFINES -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"....\include\QtCore" -I"....\include" -I"....\include\QtNetwork" -I"tmp\rcc\release_shared" -I"tmp" -I"..\3rdparty\zlib" -I"kernel" -I"....\include\ActiveQt" -I"tmp\moc\release_shared" -I"....\mkspecs\win32-msvc2010" -Fotmp\obj\release_shared\ @C:\Users\TSHNAI~1\AppData\Local\Temp\nm45DF.tmp
qsslcertificate.cpp
qsslconfiguration.cpp
qsslcipher.cpp
qsslerror.cpp
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(89) : error C2146: syntax error : missing ';' before identifier 'peerCertificate'
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(89) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(89) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(90) : error C2065: 'QSslCertificate' : undeclared identifier
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(91) : error C2146: syntax error : missing ';' before identifier 'localCertificate'
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(91) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(91) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(93) : error C2146: syntax error : missing ';' before identifier 'privateKey'
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(93) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(93) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(94) : error C2146: syntax error : missing ';' before identifier 'sessionCipher'
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(94) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(94) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(95) : error C2065: 'QSslCipher' : undeclared identifier
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(96) : error C2065: 'QSslCertificate' : undeclared identifier
r:\qtsdk\qtsources\4.8.0\src\network\ssl\qsslconfiguration_p.h(99) : error C2653: 'QSslSocket' : is not a class or namespace name
r:\q