Unsolved Qt 4.8.6 fails for WebKit module for VS 2013
-
Qt 4.8.6 version fails during compilation ,when WebKit module is enabled for Visual Studio 2013.
Tried the solution provided in the following link, but the issue is not solved.
http://stackoverflow.com/questions/18080625/qt-4-8-visual-studio-2013-compiling-errorThe following are the errors,
.\wtf/MathExtras.h(117) : error C2491: 'round' : definition of dllimport functio
n not allowed (wtf\DateMath.cpp)
.\wtf/MathExtras.h(124) : error C2491: 'roundf' : definition of dllimport functi
on not allowed (wtf\DateMath.cpp)
.\wtf/MathExtras.h(146) : error C2084: function 'bool signbit(double)' already h
as a body (wtf\DateMath.cpp)
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(32
4) : see previous definition of 'signbit'
.\wtf/MathExtras.h(117) : error C2491: 'round' : definition of dllimport functio
n not allowed (wtf\DecimalNumber.cpp)
.\wtf/MathExtras.h(124) : error C2491: 'roundf' : definition of dllimport functi
on not allowed (wtf\DecimalNumber.cpp)
.\wtf/MathExtras.h(146) : error C2084: function 'bool signbit(double)' already h
as a body (wtf\DecimalNumber.cpp)
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(32
4) : see previous definition of 'signbit'
.\wtf/MathExtras.h(117) : error C2491: 'round' : definition of dllimport functio
n not allowed (wtf\dtoa.cpp)
.\wtf/MathExtras.h(124) : error C2491: 'roundf' : definition of dllimport functi
on not allowed (wtf\dtoa.cpp)
.\wtf/MathExtras.h(146) : error C2084: function 'bool signbit(double)' already h
as a body (wtf\dtoa.cpp)
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(32
4) : see previous definition of 'signbit'
c:\df_thirdparty\cpp\qt-everywhere-opensource-src-4.8.6\src\3rdparty\webkit\sour
ce\javascriptcore\runtime\JSValueInlineMethods.h(168) : error C2264: 'signbit' :
error in function definition or declaration; function not called (wtf\DateMath.
cpp)
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.Build process of the qt package could not be finished successfully.
-
Hi and welcome to devnet,
You should rather try with 4.8.7
-
@SGaist - Thank you. 4.8.7 version is working fine with WebKit module for VS 2013.