Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

I can NOT find any useful solution while compiling the source code of Qt 4.8.7 with MSVC 2010 Express?



  • Hi everyone,

    I am the beginner of Qt. In these days, I want to build the source code of Qt 4.8.7 with Visual Stuido 2010 Express for x64 bit architecture. I am so painful because the compilation error couldn't solve by myself.

    I've looked at some of the forum posts about this problem, but unfortunately they didn't help me. Such as https://stackoverflow.com/questions/10888391/error-link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-inval.

    My machine environment below:

    Code snipet of compilation error

    C:\Qt\4.8.7>..\jom\jom -j4
    
    jom 1.1.3 - empower your cores
    
            cd src\tools\bootstrap\ && C:\Qt\jom\jom.exe -f Makefile
            C:\Qt\jom\jom.exe -f Makefile.Release
            cd src\tools\moc\ && C:\Qt\jom\jom.exe -f Makefile
            C:\Qt\jom\jom.exe -f Makefile.Release
            cd src\tools\rcc\ && C:\Qt\jom\jom.exe -f Makefile
            C:\Qt\jom\jom.exe -f Makefile.Release
            cd src\tools\uic\ && C:\Qt\jom\jom.exe -f Makefile
            C:\Qt\jom\jom.exe -f Makefile.Release
            cd src\winmain\ && C:\Qt\jom\jom.exe -f Makefile
            C:\Qt\jom\jom.exe -f Makefile.Debug all
            C:\Qt\jom\jom.exe -f Makefile.Release all
            cd src\corelib\ && C:\Qt\jom\jom.exe -f Makefile
            C:\Qt\jom\jom.exe -f Makefile.Release all
            link /LIBPATH:"c:\Qt\4.8.7\lib" /LIBPATH:"c:\Qt\4.8.7\lib" /NOLOGO /DYNA
    MICBASE /NXCOMPAT /BASE:0x67000000 /INCREMENTAL:NO /DLL /MANIFEST /MANIFESTFILE:
    "tmp\obj\release_shared\QtCore.intermediate.manifest" /VERSION:4.87 /OUT:..\..\l
    ib\QtCore4.dll @C:\Users\Charley\AppData\Local\Temp\QtCore4.dll.4608.280.jom
       Creating library ..\..\lib\QtCore4.lib and object ..\..\lib\QtCore4.exp
    LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or c
    orrupt
    jom: C:\Qt\4.8.7\src\corelib\Makefile.Release [..\..\lib\QtCore4.dll] Error 1123
    
    jom: C:\Qt\4.8.7\src\corelib\Makefile [release-all] Error 2
            C:\Qt\jom\jom.exe -f Makefile.Debug all
            link /LIBPATH:"c:\Qt\4.8.7\lib" /LIBPATH:"c:\Qt\4.8.7\lib" /NOLOGO /DYNA
    MICBASE /NXCOMPAT /BASE:0x67000000 /DEBUG /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\
    debug_shared\QtCored.intermediate.manifest" /VERSION:4.87 /OUT:..\..\lib\QtCored
    4.dll @C:\Users\Charley\AppData\Local\Temp\QtCored4.dll.1216.280.jom
       Creating library ..\..\lib\QtCored4.lib and object ..\..\lib\QtCored4.exp
    LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or c
    orrupt
    jom: C:\Qt\4.8.7\src\corelib\Makefile.Debug [..\..\lib\QtCored4.dll] Error 1123
    jom: C:\Qt\4.8.7\src\corelib\Makefile [debug-all] Error 2
    jom: C:\Qt\4.8.7\Makefile [sub-corelib-make_default-ordered] Error 2
    

    Building commands:

    cd c:\Qt\4.8.7
    configure -debug-and-release -opensource -platform win32-msvc2010  -opensource -confirm-license -webkit -nomake examples -nomake demos
    ..\jom\jom.exe -j 4
    

    Thank you in advance.



  • After installed Windows SDK v7.1 , I executed the building procedure again. Now, the compilation error has changed.

    jit" -I"..\JavaScriptCore\parser" -I"..\JavaScriptCore\profiler" -I"..\JavaScrip
    tCore\runtime" -I"..\JavaScriptCore\wtf" -I"..\JavaScriptCore\wtf\gobject" -I"c:
    \Qt\4.8.7\src\3rdparty\webkit\Source\JavaScriptCore\wtf\symbian" -I"..\JavaScrip
    tCore\wtf\unicode" -I"..\JavaScriptCore\yarr" -I"..\JavaScriptCore\API" -I"..\Ja
    vaScriptCore\ForwardingHeaders" -I"..\JavaScriptCore\generated" -I"bridge\qt" -I
    "page\qt" -I"platform\graphics\qt" -I"platform\network\qt" -I"platform\qt" -I"..
    \WebKit\qt\Api" -I"..\WebKit\qt\WebCoreSupport" -I"." -I"accessibility" -I"bindi
    ngs" -I"bindings\generic" -I"bridge" -I"css" -I"dom" -I"dom\default" -I"editing"
     -I"fileapi" -I"history" -I"html" -I"html\canvas" -I"html\parser" -I"html\shadow
    " -I"inspector" -I"loader" -I"loader\appcache" -I"loader\archive" -I"loader\cach
    e" -I"loader\icon" -I"mathml" -I"notifications" -I"page" -I"page\animation" -I"p
    latform" -I"platform\animation" -I"platform\audio" -I"platform\graphics" -I"plat
    form\graphics\filters" -I"platform\graphics\filters\arm" -I"platform\graphics\te
    xmap" -I"platform\graphics\transforms" -I"platform\image-decoders" -I"platform\l
    eveldb" -I"platform\mock" -I"platform\network" -I"platform\sql" -I"platform\text
    " -I"platform\text\transcoder" -I"plugins" -I"rendering" -I"rendering\mathml" -I
    "rendering\style" -I"rendering\svg" -I"storage" -I"svg" -I"svg\animation" -I"svg
    \graphics" -I"svg\graphics\filters" -I"svg\properties" -I"testing" -I"webaudio"
    -I"websockets" -I"c:\Qt\4.8.7\src\3rdparty\webkit\Source\WebCore\wml" -I"workers
    " -I"xml" -I"bridge\jsc" -I"bindings\js" -I"c:\Qt\4.8.7\src\3rdparty\webkit\Sour
    ce\WebCore\bindings\js\specialization" -I"bridge\c" -I"testing\js" -I"generated"
     -I"..\JavaScriptCore\os-win32" -I"..\..\Source" -I"..\..\include" -I"..\include
    \QtWebKit" -I"..\include" -I"..\..\..\sqlite" -I"platform\win" -I"plugins\win" -
    I"platform\win" -I"platform\graphics\win" -I"..\..\..\..\..\include\ActiveQt" -I
    "tmp\moc\release_shared" -I"..\..\..\..\..\mkspecs\win32-msvc2010" -Fotmp\obj\re
    lease_shared\ @C:\Users\Charley\AppData\Local\Temp\ImageFrameQt.obj.4056.1555642
    .jom
    ImageFrameQt.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    Generating Code...
    jom: C:\Qt\4.8.7\src\3rdparty\webkit\Source\WebCore\Makefile.WebKit.Release [tmp
    \obj\release_shared\Arena.obj] Error 2
            cl -c -nologo -Zm200 -Zc:wchar_t- -wd4291 -wd4344 -wd4396 -wd4503 -wd480
    0 -wd4819 -wd4996 -O2 -MD -GR -EHsc -DUNICODE -DWIN32 -DNDEBUG -DBUILDING_QT__=1
     -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DENABL
    E_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFL
    INE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_C
    HANNEL_MESSAGING=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_Q
    UOTA=0 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABL
    E_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_
    XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENAB
    LE_BLOB=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1
    -DENABLE_3D_RENDERING=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0 -DENABLE_MEDIA_STA
    TISTICS=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATIO
    N_API=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENAB
    LE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=
    1 -DENABLE_TILED_BACKING_STORE=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOC
    KETS=1 -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=0 -DSQLITE_C
    ORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -D_HAS_TR1=0 -DBUILDING_
    JavaScriptCore -DBUILDING_WTF -DBUILDING_WEBKIT -DQT_MAKEDLL -DQT_NO_DEBUG -DQT_
    GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_S
    SE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\..\..\include
    \QtCore" -I"..\..\..\..\..\include\QtNetwork" -I"..\..\..\..\..\include\QtGui" -
    I"..\..\..\..\..\include" -I"..\JavaScriptCore" -I"..\..\Source" -I"..\ThirdPart
    y" -I"..\JavaScriptCore\assembler" -I"..\JavaScriptCore\bytecode" -I"..\JavaScri
    ptCore\bytecompiler" -I"..\JavaScriptCore\heap" -I"..\JavaScriptCore\dfg" -I"..\
    JavaScriptCore\debugger" -I"..\JavaScriptCore\interpreter" -I"..\JavaScriptCore\
    jit" -I"..\JavaScriptCore\parser" -I"..\JavaScriptCore\profiler" -I"..\JavaScrip
    tCore\runtime" -I"..\JavaScriptCore\wtf" -I"..\JavaScriptCore\wtf\gobject" -I"c:
    \Qt\4.8.7\src\3rdparty\webkit\Source\JavaScriptCore\wtf\symbian" -I"..\JavaScrip
    tCore\wtf\unicode" -I"..\JavaScriptCore\yarr" -I"..\JavaScriptCore\API" -I"..\Ja
    vaScriptCore\ForwardingHeaders" -I"..\JavaScriptCore\generated" -I"bridge\qt" -I
    "page\qt" -I"platform\graphics\qt" -I"platform\network\qt" -I"platform\qt" -I"..
    \WebKit\qt\Api" -I"..\WebKit\qt\WebCoreSupport" -I"." -I"accessibility" -I"bindi
    ngs" -I"bindings\generic" -I"bridge" -I"css" -I"dom" -I"dom\default" -I"editing"
     -I"fileapi" -I"history" -I"html" -I"html\canvas" -I"html\parser" -I"html\shadow
    " -I"inspector" -I"loader" -I"loader\appcache" -I"loader\archive" -I"loader\cach
    e" -I"loader\icon" -I"mathml" -I"notifications" -I"page" -I"page\animation" -I"p
    latform" -I"platform\animation" -I"platform\audio" -I"platform\graphics" -I"plat
    form\graphics\filters" -I"platform\graphics\filters\arm" -I"platform\graphics\te
    xmap" -I"platform\graphics\transforms" -I"platform\image-decoders" -I"platform\l
    eveldb" -I"platform\mock" -I"platform\network" -I"platform\sql" -I"platform\text
    " -I"platform\text\transcoder" -I"plugins" -I"rendering" -I"rendering\mathml" -I
    "rendering\style" -I"rendering\svg" -I"storage" -I"svg" -I"svg\animation" -I"svg
    \graphics" -I"svg\graphics\filters" -I"svg\properties" -I"testing" -I"webaudio"
    -I"websockets" -I"c:\Qt\4.8.7\src\3rdparty\webkit\Source\WebCore\wml" -I"workers
    " -I"xml" -I"bridge\jsc" -I"bindings\js" -I"c:\Qt\4.8.7\src\3rdparty\webkit\Sour
    ce\WebCore\bindings\js\specialization" -I"bridge\c" -I"testing\js" -I"generated"
     -I"..\JavaScriptCore\os-win32" -I"..\..\Source" -I"..\..\include" -I"..\include
    \QtWebKit" -I"..\include" -I"..\..\..\sqlite" -I"platform\win" -I"plugins\win" -
    I"platform\win" -I"platform\graphics\win" -I"..\..\..\..\..\include\ActiveQt" -I
    "tmp\moc\release_shared" -I"..\..\..\..\..\mkspecs\win32-msvc2010" -Fotmp\obj\re
    lease_shared\ @C:\Users\Charley\AppData\Local\Temp\FloatQuad.obj.4056.1557031.jo
    m
    FloatQuad.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    FloatRect.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
            cl -c -nologo -Zm200 -Zc:wchar_t- -wd4291 -wd4344 -wd4396 -wd4503 -wd480
    0 -wd4819 -wd4996 -O2 -MD -GR -EHsc -DUNICODE -DWIN32 -DNDEBUG -DBUILDING_QT__=1
     -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DENABL
    E_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFL
    INE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_C
    HANNEL_MESSAGING=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_Q
    UOTA=0 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABL
    E_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_
    XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENAB
    LE_BLOB=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1
    -DENABLE_3D_RENDERING=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0 -DENABLE_MEDIA_STA
    TISTICS=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATIO
    N_API=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENAB
    LE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=
    1 -DENABLE_TILED_BACKING_STORE=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOC
    KETS=1 -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=0 -DSQLITE_C
    ORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -D_HAS_TR1=0 -DBUILDING_
    JavaScriptCore -DBUILDING_WTF -DBUILDING_WEBKIT -DQT_MAKEDLL -DQT_NO_DEBUG -DQT_
    GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_S
    SE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\..\..\include
    \QtCore" -I"..\..\..\..\..\include\QtNetwork" -I"..\..\..\..\..\include\QtGui" -
    I"..\..\..\..\..\include" -I"..\JavaScriptCore" -I"..\..\Source" -I"..\ThirdPart
    y" -I"..\JavaScriptCore\assembler" -I"..\JavaScriptCore\bytecode" -I"..\JavaScri
    ptCore\bytecompiler" -I"..\JavaScriptCore\heap" -I"..\JavaScriptCore\dfg" -I"..\
    JavaScriptCore\debugger" -I"..\JavaScriptCore\interpreter" -I"..\JavaScriptCore\
    jit" -I"..\JavaScriptCore\parser" -I"..\JavaScriptCore\profiler" -I"..\JavaScrip
    tCore\runtime" -I"..\JavaScriptCore\wtf" -I"..\JavaScriptCore\wtf\gobject" -I"c:
    \Qt\4.8.7\src\3rdparty\webkit\Source\JavaScriptCore\wtf\symbian" -I"..\JavaScrip
    tCore\wtf\unicode" -I"..\JavaScriptCore\yarr" -I"..\JavaScriptCore\API" -I"..\Ja
    vaScriptCore\ForwardingHeaders" -I"..\JavaScriptCore\generated" -I"bridge\qt" -I
    "page\qt" -I"platform\graphics\qt" -I"platform\network\qt" -I"platform\qt" -I"..
    \WebKit\qt\Api" -I"..\WebKit\qt\WebCoreSupport" -I"." -I"accessibility" -I"bindi
    ngs" -I"bindings\generic" -I"bridge" -I"css" -I"dom" -I"dom\default" -I"editing"
     -I"fileapi" -I"history" -I"html" -I"html\canvas" -I"html\parser" -I"html\shadow
    " -I"inspector" -I"loader" -I"loader\appcache" -I"loader\archive" -I"loader\cach
    e" -I"loader\icon" -I"mathml" -I"notifications" -I"page" -I"page\animation" -I"p
    latform" -I"platform\animation" -I"platform\audio" -I"platform\graphics" -I"plat
    form\graphics\filters" -I"platform\graphics\filters\arm" -I"platform\graphics\te
    xmap" -I"platform\graphics\transforms" -I"platform\image-decoders" -I"platform\l
    eveldb" -I"platform\mock" -I"platform\network" -I"platform\sql" -I"platform\text
    " -I"platform\text\transcoder" -I"plugins" -I"rendering" -I"rendering\mathml" -I
    "rendering\style" -I"rendering\svg" -I"storage" -I"svg" -I"svg\animation" -I"svg
    \graphics" -I"svg\graphics\filters" -I"svg\properties" -I"testing" -I"webaudio"
    -I"websockets" -I"c:\Qt\4.8.7\src\3rdparty\webkit\Source\WebCore\wml" -I"workers
    " -I"xml" -I"bridge\jsc" -I"bindings\js" -I"c:\Qt\4.8.7\src\3rdparty\webkit\Sour
    ce\WebCore\bindings\js\specialization" -I"bridge\c" -I"testing\js" -I"generated"
     -I"..\JavaScriptCore\os-win32" -I"..\..\Source" -I"..\..\include" -I"..\include
    \QtWebKit" -I"..\include" -I"..\..\..\sqlite" -I"platform\win" -I"plugins\win" -
    I"platform\win" -I"platform\graphics\win" -I"..\..\..\..\..\include\ActiveQt" -I
    "tmp\moc\release_shared" -I"..\..\..\..\..\mkspecs\win32-msvc2010" -Fotmp\obj\re
    lease_shared\ @C:\Users\Charley\AppData\Local\Temp\FontDescription.obj.4056.1555
    658.jom
    FontDescription.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    FontFallbackList.cpp
            cl -c -nologo -Zm200 -Zc:wchar_t- -wd4291 -wd4344 -wd4396 -wd4503 -wd480
    0 -wd4819 -wd4996 -O2 -MD -GR -EHsc -DUNICODE -DWIN32 -DNDEBUG -DBUILDING_QT__=1
     -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DENABL
    E_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFL
    INE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_C
    HANNEL_MESSAGING=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_Q
    UOTA=0 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABL
    E_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_
    XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENAB
    LE_BLOB=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1
    -DENABLE_3D_RENDERING=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0 -DENABLE_MEDIA_STA
    TISTICS=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATIO
    N_API=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENAB
    LE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=
    1 -DENABLE_TILED_BACKING_STORE=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOC
    KETS=1 -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=0 -DSQLITE_C
    ORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -D_HAS_TR1=0 -DBUILDING_
    JavaScriptCore -DBUILDING_WTF -DBUILDING_WEBKIT -DQT_MAKEDLL -DQT_NO_DEBUG -DQT_
    GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_S
    SE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\..\..\include
    \QtCore" -I"..\..\..\..\..\include\QtNetwork" -I"..\..\..\..\..\include\QtGui" -
    I"..\..\..\..\..\include" -I"..\JavaScriptCore" -I"..\..\Source" -I"..\ThirdPart
    y" -I"..\JavaScriptCore\assembler" -I"..\JavaScriptCore\bytecode" -I"..\JavaScri
    ptCore\bytecompiler" -I"..\JavaScriptCore\heap" -I"..\JavaScriptCore\dfg" -I"..\
    JavaScriptCore\debugger" -I"..\JavaScriptCore\interpreter" -I"..\JavaScriptCore\
    jit" -I"..\JavaScriptCore\parser" -I"..\JavaScriptCore\profiler" -I"..\JavaScrip
    tCore\runtime" -I"..\JavaScriptCore\wtf" -I"..\JavaScriptCore\wtf\gobject" -I"c:
    \Qt\4.8.7\src\3rdparty\webkit\Source\JavaScriptCore\wtf\symbian" -I"..\JavaScrip
    tCore\wtf\unicode" -I"..\JavaScriptCore\yarr" -I"..\JavaScriptCore\API" -I"..\Ja
    vaScriptCore\ForwardingHeaders" -I"..\JavaScriptCore\generated" -I"bridge\qt" -I
    "page\qt" -I"platform\graphics\qt" -I"platform\network\qt" -I"platform\qt" -I"..
    \WebKit\qt\Api" -I"..\WebKit\qt\WebCoreSupport" -I"." -I"accessibility" -I"bindi
    ngs" -I"bindings\generic" -I"bridge" -I"css" -I"dom" -I"dom\default" -I"editing"
     -I"fileapi" -I"history" -I"html" -I"html\canvas" -I"html\parser" -I"html\shadow
    " -I"inspector" -I"loader" -I"loader\appcache" -I"loader\archive" -I"loader\cach
    e" -I"loader\icon" -I"mathml" -I"notifications" -I"page" -I"page\animation" -I"p
    latform" -I"platform\animation" -I"platform\audio" -I"platform\graphics" -I"plat
    form\graphics\filters" -I"platform\graphics\filters\arm" -I"platform\graphics\te
    xmap" -I"platform\graphics\transforms" -I"platform\image-decoders" -I"platform\l
    eveldb" -I"platform\mock" -I"platform\network" -I"platform\sql" -I"platform\text
    " -I"platform\text\transcoder" -I"plugins" -I"rendering" -I"rendering\mathml" -I
    "rendering\style" -I"rendering\svg" -I"storage" -I"svg" -I"svg\animation" -I"svg
    \graphics" -I"svg\graphics\filters" -I"svg\properties" -I"testing" -I"webaudio"
    -I"websockets" -I"c:\Qt\4.8.7\src\3rdparty\webkit\Source\WebCore\wml" -I"workers
    " -I"xml" -I"bridge\jsc" -I"bindings\js" -I"c:\Qt\4.8.7\src\3rdparty\webkit\Sour
    ce\WebCore\bindings\js\specialization" -I"bridge\c" -I"testing\js" -I"generated"
     -I"..\JavaScriptCore\os-win32" -I"..\..\Source" -I"..\..\include" -I"..\include
    \QtWebKit" -I"..\include" -I"..\..\..\sqlite" -I"platform\win" -I"plugins\win" -
    I"platform\win" -I"platform\graphics\win" -I"..\..\..\..\..\include\ActiveQt" -I
    "tmp\moc\release_shared" -I"..\..\..\..\..\mkspecs\win32-msvc2010" -Fotmp\obj\re
    lease_shared\ @C:\Users\Charley\AppData\Local\Temp\FileSystem.obj.4056.1551976.j
    om
    FileSystem.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    GeolocationService.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    KillRingNone.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    FloatSize.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    FontData.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    Font.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    KURL.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    FontFamily.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    FontCache.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    BitmapImage.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    Language.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    GeneratedImage.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    Color.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    Length.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    Gradient.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    Generating Code...
    ContextShadow.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    LinkHash.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    Logging.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    FloatPoint3D.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    FloatPoint.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    MIMETypeRegistry.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : war
    ning C4005: '_HAS_TR1' : macro redefinition
            command-line arguments :  see previous definition of '_HAS_TR1'
    Generating Code...
    Generating Code...
    jom: C:\Qt\4.8.7\src\3rdparty\webkit\Source\WebCore\Makefile.WebKit [release-all
    ] Error 2
    jom: C:\Qt\4.8.7\src\3rdparty\webkit\Source\Makefile.WebKit [sub-WebCore-make_de
    fault-ordered] Error 2
    jom: C:\Qt\4.8.7\Makefile [sub-webkit-make_default-ordered] Error 2
    

  • Lifetime Qt Champion

    Don't use Qt4 and MSVC2010 when you're start with Qt. Use a pre-build Qt available with the Qt installer and MSVC2019.
    I'm pretty sure Qt4/MSVC2010 will not work with 64bit at all.


Log in to reply