Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved Qt 4.8.6 fails for WebKit module for VS 2013

    Installation and Deployment
    2
    3
    1212
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Vishwas last edited by

      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-error

      The 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.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        You should rather try with 4.8.7

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        V 1 Reply Last reply Reply Quote 0
        • V
          Vishwas @SGaist last edited by

          @SGaist - Thank you. 4.8.7 version is working fine with WebKit module for VS 2013.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post