QtWebKit compiling errors



  • Hello All,

    I just successfully statically compiled Qt 5.5.1 & now I'm trying to compile QtWebKit to go along with it & I can't seem to get around this Javascript error.

    This is what I've been following :
    https://trac.webkit.org/wiki/BuildingQtOnWindows

    Error

    cd Source\JavaScriptCore\ && ( if not exist Makefile.JavaScriptCore D:\5.5\mingw492_32\bin\qmake.exe D:\Qt\Static\src\qt-everywhere-opensource-src-5.5.1\qtwebkit\Source\JavaScriptCore\JavaScriptCore.pro -o Makefile.JavaScriptCore ) && make -f Makefile.JavaScriptCore
    make[1]: Entering directory `D:/Qt/Static/src/qt-everywhere-opensource-src-5.5.1/qtwebkit/Source/JavaScriptCore'
    ( if not exist Makefile.LLIntOffsetsExtractor D:\5.5\mingw492_32\bin\qmake.exe D:\Qt\Static\src\qt-everywhere-opensource-src-5.5.1\qtwebkit\Source\JavaScriptCore\LLIntOffsetsExtractor.pro -o Makefile.LLIntOffsetsExtractor ) && make -f Makefile.LLIntOffsetsExtractor
    make[2]: Entering directory `D:/Qt/Static/src/qt-everywhere-opensource-src-5.5.1/qtwebkit/Source/JavaScriptCore'
    make -f Makefile.LLIntOffsetsExtractor.Release all
    make[3]: Entering directory `D:/Qt/Static/src/qt-everywhere-opensource-src-5.5.1/qtwebkit/Source/JavaScriptCore'
    ruby D:/Qt/Static/src/qt-everywhere-opensource-src-5.5.1/qtwebkit/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb llint\LowLevelInterpreter.asm LLIntDesiredOffsets.h
    process_begin: CreateProcess(NULL, ruby D:/Qt/Static/src/qt-everywhere-opensource-src-5.5.1/qtwebkit/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb llint\LowLevelInterpreter.asm LLIntDesiredOffsets.h, ...) failed.
    make (e=2): The system cannot find the file specified.
    make[3]: *** [LLIntDesiredOffsets.h] Error 2
    make[3]: Leaving directory `D:/Qt/Static/src/qt-everywhere-opensource-src-5.5.1/qtwebkit/Source/JavaScriptCore'
    make[2]: *** [release-all] Error 2
    make[2]: Leaving directory `D:/Qt/Static/src/qt-everywhere-opensource-src-5.5.1/qtwebkit/Source/JavaScriptCore'
    make[1]: *** [sub-LLIntOffsetsExtractor-pro-make_first-ordered] Error 2
    make[1]: Leaving directory `D:/Qt/Static/src/qt-everywhere-opensource-src-5.5.1/qtwebkit/Source/JavaScriptCore'
    make: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2
    

    Any help is appreciated, thank you.



  • Is ruby command available in your path?

    Also note that building QtWebKit as a static library is unsupported, but it probably does not relate for this paticular error.



  • @Konstantin-Tokarev yes it is, i was thinking of trying an older version of ruby as i just grabbed the newest one..



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.