[Development] Cannot compile Qt 5.7 alpha with MSVC 2013/2015

Cheng, Bobber BCheng at intercalleurope.com
Wed Mar 23 13:08:33 CET 2016


Hi team,

Did anyone compile Qt 5.7 alpha with MSVC 2013/2015? I got following error just when compiling qlatincodec.cpp.

d:\qt\5.7.0\qtbase\include\qtcore\../../src/corelib/global/qflags.h(58): error C2220: warning treated as error - no 'object' file generated (compiling source fi
le ..\..\corelib\codecs\qlatincodec.cpp)
d:\qt\5.7.0\qtbase\include\qtcore\../../src/corelib/global/qflags.h(58): warning C4577: 'noexcept' used with no exception handling mode specified; termination o
n exception is not guaranteed. Specify /EHsc (compiling source file ..\..\corelib\codecs\qlatincodec.cpp)
d:\qt\5.7.0\qtbase\include\qtcore\../../src/corelib/global/qflags.h(58): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version
of the compiler with which you used to build without warnings (compiling source file ..\..\corelib\codecs\qlatincodec.cpp)
d:\qt\5.7.0\qtbase\include\qtcore\../../src/corelib/global/qflags.h(58): error C2220: warning treated as error - no 'object' file generated (compiling source fi
le ..\..\corelib\codecs\qutfcodec.cpp)
d:\qt\5.7.0\qtbase\include\qtcore\../../src/corelib/global/qflags.h(58): warning C4577: 'noexcept' used with no exception handling mode specified; termination o
n exception is not guaranteed. Specify /EHsc (compiling source file ..\..\corelib\codecs\qutfcodec.cpp)
d:\qt\5.7.0\qtbase\include\qtcore\../../src/corelib/global/qflags.h(58): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version
of the compiler with which you used to build without warnings (compiling source file ..\..\corelib\codecs\qutfcodec.cpp)
d:\qt\5.7.0\qtbase\include\qtcore\../../src/corelib/global/qflags.h(58): error C2220: warning treated as error - no 'object' file generated (compiling source fi
le ..\..\corelib\codecs\qtextcodec.cpp)
d:\qt\5.7.0\qtbase\include\qtcore\../../src/corelib/global/qflags.h(58): warning C4577: 'noexcept' used with no exception handling mode specified; termination o
n exception is not guaranteed. Specify /EHsc (compiling source file ..\..\corelib\codecs\qtextcodec.cpp)
d:\qt\5.7.0\qtbase\include\qtcore\../../src/corelib/global/qflags.h(58): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version
of the compiler with which you used to build without warnings (compiling source file ..\..\corelib\codecs\qtextcodec.cpp)
NMAKE : fatal error U1077: '"D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

Did I missed anything? I used following configure options:

D:\Qt\5.7.0>configure -confirm-license -opensource -qt-sql-sqlite -debug-and-release -nomake tests -nomake examples -openssl -I D:\dev_ium5\common\ThirdParty\openssl_1.0.1\include -L D:\dev_ium5\common\ThirdParty\openssl_1.0.1\lib -mp -I  D:\dev_ium5\common\ThirdParty\ICU\include -L D:\dev_ium5\common\ThirdParty\ICU\lib   -opengl desktop -no-qml-debug -developer-build

Thanks,
Bobber
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160323/6de59e31/attachment.html>


More information about the Development mailing list