Trying to build qt-webkit-tp4 on windows



  • Hi,
    Platform: windows.
    QT version :5.7.0
    https://github.com/annulen/webkit/releases/tag/qtwebkit-tp4

    I am tying to compile the qt Webkit.
    First of all i compile the QT with the follows command:
    configure.bat -static -platform win32-msvc2015 -release -opensource -skip webengine -nomake examples -nomake tests -openssl -icu -I "e:\OpenSSL-Win32\include" -L "e:\OpenSSL-Win32\lib" -nomake examples -confirm-license -prefix E:\QT\Test_Boris\QT_5.7.0Static
    nmake && nmake install

    after it, I trying to build the webkit but i get error:

    Checking Last-Modified date of qtwebkit-libs-win.zip...
    Downloading qtwebkit-libs-win.zip...

    https://dl.dropboxusercontent.com/u/30021413/qtwebkit-libs-win.zip

    Installing qtwebkit-libs-win...
    The qtwebkit-libs-win has been sucessfully installed in
    E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitLibraries\win
    Not searching for unused variables given on the command line.
    -- Building for: Visual Studio 14 2015
    -- The C compiler identification is MSVC 19.0.24215.1
    -- The CXX compiler identification is MSVC 19.0.24215.1
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found BISON: C:/Program Files (x86)/GnuWin32/bin/bison.exe (found suitable version "2.4.1", minimum required is "2.1")
    -- Found Gperf: C:/Program Files (x86)/GnuWin32/bin/gperf.exe (Required is at least version "3.0.1")
    -- Found Perl: C:/Perl64/bin/perl.exe (found suitable version "5.20.2", minimum required is "5.10.0")
    -- Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.12", minimum required is "2.7.0")
    -- Could NOT find Ruby (missing: RUBY_LIBRARY) (found suitable version "2.3.0", minimum required is "1.9")
    CMake Warning at Source/cmake/OptionsCommon.cmake:103 (message):
    GNU gold linker isn't available, using the default system linker.
    Call Stack (most recent call first):
    Source/cmake/WebKitCommon.cmake:46 (include)
    CMakeLists.txt:135 (include)

    -- Looking for include file features.h
    -- Looking for include file features.h - not found
    -- Found LibXml2: E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitLibraries/win/lib32/libxml2.lib (found suitable version "2.9.3", minimum required is "2.8.0")
    -- Found JPEG: E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitLibraries/win/lib32/libjpeg.lib
    -- Found ZLIB: E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitLibraries/win/lib32/zlib.lib (found version "1.2.8")
    -- Found PNG: E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitLibraries/win/lib32/libpng.lib (found version "1.6.20")
    -- Found Sqlite: E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitLibraries/win/include
    -- Looking for pthread.h
    -- Looking for pthread.h - not found
    -- Found Threads: TRUE
    -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
    -- Found ICU header files in E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitLibraries/win/include
    -- Found ICU libraries: E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitLibraries/win/lib32/icuuc.lib
    -- Found LibXslt: E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitLibraries/win/lib32/libxslt.lib (found suitable version "1.1.28", minimum required is "1.1.7")
    -- Could NOT find Fontconfig (missing: FONTCONFIG_LIBRARIES FONTCONFIG_INCLUDE_DIR)
    -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
    -- Found WEBP: E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitLibraries/win/include
    CMake Error at Source/cmake/OptionsQt.cmake:23 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:24 (string):
    string sub-command STRIP requires two arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:29 (string):
    string sub-command REPLACE requires at least four arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:23 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:24 (string):
    string sub-command STRIP requires two arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:29 (string):
    string sub-command REPLACE requires at least four arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:23 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:24 (string):
    string sub-command STRIP requires two arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:29 (string):
    string sub-command REPLACE requires at least four arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:23 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:24 (string):
    string sub-command STRIP requires two arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:29 (string):
    string sub-command REPLACE requires at least four arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:23 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:24 (string):
    string sub-command STRIP requires two arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:29 (string):
    string sub-command REPLACE requires at least four arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:23 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:24 (string):
    string sub-command STRIP requires two arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:29 (string):
    string sub-command REPLACE requires at least four arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:23 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:24 (string):
    string sub-command STRIP requires two arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:29 (string):
    string sub-command REPLACE requires at least four arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:23 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:24 (string):
    string sub-command STRIP requires two arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:29 (string):
    string sub-command REPLACE requires at least four arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:23 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:24 (string):
    string sub-command STRIP requires two arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:29 (string):
    string sub-command REPLACE requires at least four arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:321 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:23 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:334 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:24 (string):
    string sub-command STRIP requires two arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:334 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:29 (string):
    string sub-command REPLACE requires at least four arguments.
    Call Stack (most recent call first):
    Source/cmake/OptionsQt.cmake:334 (macro_process_qtbase_prl_file)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/OptionsQt.cmake:342 (list):
    list sub-command REMOVE_DUPLICATES requires list to be present.
    Call Stack (most recent call first):
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    --
    -- The following OPTIONAL packages have been found:

    • WebP
    • Qt5OpenGL (required version >= 5.2.0)

    -- The following REQUIRED packages have been found:

    • BISON (required version >= 2.1)
    • Gperf (required version >= 3.0.1)
    • Perl (required version >= 5.10.0)
    • PythonInterp (required version >= 2.7.0)
    • LibXml2 (required version >= 2.8.0)
    • JPEG
    • PNG
    • Sqlite
    • ZLIB
    • Threads
    • ICU
    • LibXslt (required version >= 1.1.7)
    • Qt5Core
    • Qt5Gui
    • Qt5Network
    • Qt5Sql
    • Qt5Widgets
    • Qt5Test
    • Qt5Positioning
    • Qt5Sensors
    • Qt5PrintSupport
      Required for ENABLE_PRINT_SUPPORT=ON
    • Qt5 (required version >= 5.2.0)
    • Qt5Multimedia (required version >= 5.2.0)
    • Qt5MultimediaWidgets (required version >= 5.2.0)
    • Ruby (required version >= 1.9)

    -- The following OPTIONAL packages have not been found:

    • Fontconfig
    • PkgConfig

    -- Using platform-specific CMakeLists: E:/QT/Test_Boris/webkit-qtwebkit-tp4/Source/WTF/wtf/PlatformQt.cmake
    -- The ASM_MASM compiler identification is MSVC
    -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/ml.exe
    -- Using platform-specific CMakeLists: E:/QT/Test_Boris/webkit-qtwebkit-tp4/Source/JavaScriptCore/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/Test_Boris/webkit-qtwebkit-tp4/Source/JavaScriptCore/shell/PlatformQt.cmake
    -- All-in-One build is enabled.
    -- Using platform-specific CMakeLists: E:/QT/Test_Boris/webkit-qtwebkit-tp4/Source/WebCore/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/Test_Boris/webkit-qtwebkit-tp4/Source/WebKit/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/Test_Boris/webkit-qtwebkit-tp4/Source/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/Test_Boris/webkit-qtwebkit-tp4/Tools/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/Test_Boris/webkit-qtwebkit-tp4/Tools/DumpRenderTree/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/Test_Boris/webkit-qtwebkit-tp4/Tools/ImageDiff/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/Test_Boris/webkit-qtwebkit-tp4/Tools/TestWebKitAPI/PlatformQt.cmake
    -- Enabled features:
    -- ENABLE_ALLINONE_BUILD ................... ON
    -- ENABLE_API_TESTS ON
    -- ENABLE_CSS_GRID_LAYOUT .................. ON
    -- ENABLE_DATABASE_PROCESS OFF
    -- ENABLE_DATALIST_ELEMENT ................. ON
    -- ENABLE_DEVICE_ORIENTATION ON
    -- ENABLE_DRAG_SUPPORT ..................... ON
    -- ENABLE_FULLSCREEN_API OFF
    -- ENABLE_GAMEPAD_DEPRECATED ............... OFF
    -- ENABLE_GEOLOCATION ON
    -- ENABLE_ICONDATABASE ..................... ON
    -- ENABLE_INDEXED_DATABASE ON
    -- ENABLE_INSPECTOR_UI ..................... ON
    -- ENABLE_JIT ON
    -- ENABLE_LEGACY_WEB_AUDIO ................. OFF
    -- ENABLE_LINK_PREFETCH ON
    -- ENABLE_MEDIA_SOURCE ..................... OFF
    -- ENABLE_NETSCAPE_PLUGIN_API ON
    -- ENABLE_OPENGL ........................... OFF
    -- ENABLE_PRINT_SUPPORT ON
    -- ENABLE_SAMPLING_PROFILER ................ ON
    -- ENABLE_SPELLCHECK ON
    -- ENABLE_TOUCH_EVENTS ..................... ON
    -- ENABLE_VIDEO ON
    -- ENABLE_WEB_AUDIO ........................ OFF
    -- ENABLE_X11_TARGET OFF
    -- ENABLE_XSLT ............................. ON
    -- USE_GSTREAMER OFF
    -- USE_LIBHYPHEN ........................... OFF
    -- USE_QT_MULTIMEDIA ON
    -- USE_SYSTEM_MALLOC ....................... 1
    -- USE_WOFF2 ON
    -- Configuring incomplete, errors occurred!
    See also "E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
    See also "E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitBuild/Release/CMakeFiles/CMakeError.log".

    Please help.



  • The CMakeError.log file :

    Determining if files features.h exist failed with the following output:
    Change Dir: E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitBuild/Release/CMakeFiles/CMakeTmp

    Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_a6143.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
    Microsoft (R) Build Engine version 14.0.25420.1

    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 25/11/2016 19:05:13.

    Project "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_a6143.vcxproj" on node 1 (default targets).

    PrepareForBuild:

    Creating directory "cmTC_a6143.dir\Debug".

    Creating directory "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\Debug".

    Creating directory "cmTC_a6143.dir\Debug\cmTC_a6143.tlog".

    InitializeBuildStatus:

    Creating "cmTC_a6143.dir\Debug\cmTC_a6143.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

    ClCompile:

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a6143.dir\Debug\" /Fd"cmTC_a6143.dir\Debug\vc140.pdb" /Gd /TC /analyze- /errorReport:queue "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c"

    Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x86

    Copyright (C) Microsoft Corporation. All rights reserved.

    cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a6143.dir\Debug\" /Fd"cmTC_a6143.dir\Debug\vc140.pdb" /Gd /TC /analyze- /errorReport:queue "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c"

    CheckIncludeFiles.c

    E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'features.h': No such file or directory [E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_a6143.vcxproj]

    Done Building Project "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_a6143.vcxproj" (default targets) -- FAILED.

    Build FAILED.

    "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_a6143.vcxproj" (default target) (1) ->

    (ClCompile target) ->

    E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'features.h': No such file or directory [E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_a6143.vcxproj]

    0 Warning(s)
    
    1 Error(s)
    

    Time Elapsed 00:00:00.56

    Source:
    /* */
    #include <features.h>

    int main(void){return 0;}

    Determining if the include file pthread.h exists failed with the following output:
    Change Dir: E:/QT/Test_Boris/webkit-qtwebkit-tp4/WebKitBuild/Release/CMakeFiles/CMakeTmp

    Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_61790.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
    Microsoft (R) Build Engine version 14.0.25420.1

    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 25/11/2016 19:05:14.

    Project "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_61790.vcxproj" on node 1 (default targets).

    PrepareForBuild:

    Creating directory "cmTC_61790.dir\Debug".

    Creating directory "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\Debug".

    Creating directory "cmTC_61790.dir\Debug\cmTC_61790.tlog".

    InitializeBuildStatus:

    Creating "cmTC_61790.dir\Debug\cmTC_61790.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

    ClCompile:

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_61790.dir\Debug\" /Fd"cmTC_61790.dir\Debug\vc140.pdb" /Gd /TC /analyze- /errorReport:queue "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

    Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x86

    Copyright (C) Microsoft Corporation. All rights reserved.

    cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_61790.dir\Debug\" /Fd"cmTC_61790.dir\Debug\vc140.pdb" /Gd /TC /analyze- /errorReport:queue "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

    CheckIncludeFile.c

    E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_61790.vcxproj]

    Done Building Project "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_61790.vcxproj" (default targets) -- FAILED.

    Build FAILED.

    "E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_61790.vcxproj" (default target) (1) ->

    (ClCompile target) ->

    E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [E:\QT\Test_Boris\webkit-qtwebkit-tp4\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_61790.vcxproj]

    0 Warning(s)
    
    1 Error(s)
    

    Time Elapsed 00:00:00.34

    Checking whether the ASM_MASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
    MASM : warning A4018:invalid command-line option : --version
    MASM : fatal error A1017:missing source filename
    Microsoft (R) Macro Assembler Version 14.00.24210.0
    Copyright (C) Microsoft Corporation. All rights reserved.

    Checking whether the ASM_MASM compiler is HP using "-V" did not match "HP C":
    MASM : warning A4018:invalid command-line option : -V
    MASM : fatal error A1017:missing source filename
    Microsoft (R) Macro Assembler Version 14.00.24210.0
    Copyright (C) Microsoft Corporation. All rights reserved.

    Checking whether the ASM_MASM compiler is Intel using "--version" did not match "(ICC)":
    MASM : warning A4018:invalid command-line option : --version
    MASM : fatal error A1017:missing source filename
    Microsoft (R) Macro Assembler Version 14.00.24210.0
    Copyright (C) Microsoft Corporation. All rights reserved.

    Checking whether the ASM_MASM compiler is SunPro using "-V" did not match "Sun C":
    MASM : warning A4018:invalid command-line option : -V
    MASM : fatal error A1017:missing source filename
    Microsoft (R) Macro Assembler Version 14.00.24210.0
    Copyright (C) Microsoft Corporation. All rights reserved.

    Checking whether the ASM_MASM compiler is XL using "-qversion" did not match "XL C":
    MASM : warning A4018:invalid command-line option : -qversion
    MASM : fatal error A1017:missing source filename
    Microsoft (R) Macro Assembler Version 14.00.24210.0
    Copyright (C) Microsoft Corporation. All rights reserved.



  • @borisa You are building QtWebKit with static Qt, and this configuration is still experimental. Please clone qtwebkit-snapshots repoisotry [1] instead, it might work for you. However, there are known problems with Windows, fixes for which were not finalized yet, so you may have to wait a bit until these changes get landed.

    [1] https://github.com/annulen/qtwebkit-snapshots



  • Hi,

    But in https://github.com/annulen/webkit/releases/tag/qtwebkit-tp4
    one of the nodes - QtWebKit can now be built and used as a static library.

    Where can i find the known problems of static webkit in the windows?

    Thx



  • @borisa Yes, it was known to build successfully on Linux and macOS.



  • Where can i find the known problems of static webkit in the windows?



  • There is one known problem, parsing .prl files to link libraries which Qt depends upon into the final binary. In TP4 it's done with cmake regexp replacements, in git it's done by separate perl script which is more intellectual, and we are waiting for patch to produce proper compilation flags for MSVC compiler



  • I still have problems to compile the webkit:

    perl output:
    Checking Last-Modified date of qtwebkit-libs-win.zip...
    Downloading qtwebkit-libs-win.zip...

    https://dl.dropboxusercontent.com/u/30021413/qtwebkit-libs-win.zip

    Installing qtwebkit-libs-win...
    The qtwebkit-libs-win has been sucessfully installed in
    E:\QT\WebKit1\WebKitLibraries\win
    Not searching for unused variables given on the command line.
    -- Building for: Visual Studio 14 2015
    -- The C compiler identification is MSVC 19.0.24213.1
    -- The CXX compiler identification is MSVC 19.0.24213.1
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found BISON: C:/Program Files (x86)/GnuWin32/bin/bison.exe (found suitable version "2.4.1", minimum required is "2.1")
    -- Found Gperf: C:/Program Files (x86)/GnuWin32/bin/gperf.exe (Required is at least version "3.0.1")
    -- Found Perl: C:/Perl64/bin/perl.exe (found suitable version "5.20.2", minimum required is "5.10.0")
    -- Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.12", minimum required is "2.7.0")
    -- Could NOT find Ruby (missing: RUBY_LIBRARY) (found suitable version "2.3.0", minimum required is "1.9")
    -- Looking for include file features.h
    -- Looking for include file features.h - not found
    CMake Warning at Source/cmake/ECMQueryQmake.cmake:22 (message):
    Failed call: qmake-qt5 -query "QT_INSTALL_PREFIX"
    Call Stack (most recent call first):
    Source/cmake/KDEInstallDirs.cmake:431 (query_qmake)
    Source/cmake/OptionsQt.cmake:6 (include)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/ECMQueryQmake.cmake:23 (message):
    QMake call failed: The system cannot find the file specified
    Call Stack (most recent call first):
    Source/cmake/KDEInstallDirs.cmake:431 (query_qmake)
    Source/cmake/OptionsQt.cmake:6 (include)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    -- Configuring incomplete, errors occurred!
    See also "E:/QT/WebKit1/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
    See also "E:/QT/WebKit1/WebKitBuild/Release/CMakeFiles/CMakeError.log".

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! File : CMakeError.log:
    Determining if files features.h exist failed with the following output:
    Change Dir: E:/QT/WebKit1/WebKitBuild/Release/CMakeFiles/CMakeTmp

    Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_2ff49.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
    Microsoft (R) Build Engine version 14.0.25420.1

    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 30/11/2016 14:09:38.

    Project "E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_2ff49.vcxproj" on node 1 (default targets).

    PrepareForBuild:

    Creating directory "cmTC_2ff49.dir\Debug".

    Creating directory "E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\Debug".

    Creating directory "cmTC_2ff49.dir\Debug\cmTC_2ff49.tlog".

    InitializeBuildStatus:

    Creating "cmTC_2ff49.dir\Debug\cmTC_2ff49.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

    ClCompile:

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_2ff49.dir\Debug\" /Fd"cmTC_2ff49.dir\Debug\vc140.pdb" /Gd /TC /analyze- /errorReport:queue E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c

    Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x86

    Copyright (C) Microsoft Corporation. All rights reserved.

    cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_2ff49.dir\Debug\" /Fd"cmTC_2ff49.dir\Debug\vc140.pdb" /Gd /TC /analyze- /errorReport:queue E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c

    CheckIncludeFiles.c

    E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'features.h': No such file or directory [E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_2ff49.vcxproj]

    Done Building Project "E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_2ff49.vcxproj" (default targets) -- FAILED.

    Build FAILED.

    "E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_2ff49.vcxproj" (default target) (1) ->

    (ClCompile target) ->

    E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'features.h': No such file or directory [E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_2ff49.vcxproj]

    0 Warning(s)
    
    1 Error(s)
    

    Time Elapsed 00:00:00.87

    Source:
    /* */
    #include <features.h>

    int main(void){return 0;}

    Please help



  • You should pass CMAKE_PREFIX_PATH with path to your Qt installation via --cmakeargs, example is in the build instruction.

    Maybe we should reimplement autodetection by current PATH and bring back old --qmake argument though



  • Hi,

    I cleared the last build and try to build again:
    perl Tools/Scripts/build-webkit --qt --release --cmakeargs="-Wno-dev -DCMAKE_PREFIX_PATH=E:\QT\QT_5.7.0Static\mkspecs\win32-msvc2015 -CMAKE_PREFIX_PATH=E:\QT\WebKit1"

    But still I got error:
    Checking Last-Modified date of qtwebkit-libs-win.zip...
    Downloading qtwebkit-libs-win.zip...

    https://dl.dropboxusercontent.com/u/30021413/qtwebkit-libs-win.zip

    Installing qtwebkit-libs-win...
    The qtwebkit-libs-win has been sucessfully installed in
    E:\QT\WebKit1\WebKitLibraries\win
    Not searching for unused variables given on the command line.
    loading initial cache file MAKE_PREFIX_PATH=E:\QT\WebKit1
    CMake Error: Error processing file: MAKE_PREFIX_PATH=E:\QT\WebKit1
    -- Building for: Visual Studio 14 2015
    -- The C compiler identification is MSVC 19.0.24213.1
    -- The CXX compiler identification is MSVC 19.0.24213.1
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found BISON: C:/Program Files (x86)/GnuWin32/bin/bison.exe (found suitable version "2.4.1", minimum required is "2.1")
    -- Found Gperf: C:/Program Files (x86)/GnuWin32/bin/gperf.exe (Required is at least version "3.0.1")
    -- Found Perl: C:/Perl64/bin/perl.exe (found suitable version "5.20.2", minimum required is "5.10.0")
    -- Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.12", minimum required is "2.7.0")
    -- Could NOT find Ruby (missing: RUBY_LIBRARY) (found suitable version "2.3.0", minimum required is "1.9")
    -- Looking for include file features.h
    -- Looking for include file features.h - not found
    CMake Warning at Source/cmake/ECMQueryQmake.cmake:22 (message):
    Failed call: qmake-qt5 -query "QT_INSTALL_PREFIX"
    Call Stack (most recent call first):
    Source/cmake/KDEInstallDirs.cmake:431 (query_qmake)
    Source/cmake/OptionsQt.cmake:6 (include)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/ECMQueryQmake.cmake:23 (message):
    QMake call failed: The system cannot find the file specified
    Call Stack (most recent call first):
    Source/cmake/KDEInstallDirs.cmake:431 (query_qmake)
    Source/cmake/OptionsQt.cmake:6 (include)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    -- Configuring incomplete, errors occurred!
    See also "E:/QT/WebKit1/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
    See also "E:/QT/WebKit1/WebKitBuild/Release/CMakeFiles/CMakeError.log".

    -----------------CMakeError.log--------------

    Determining if files features.h exist failed with the following output:
    Change Dir: E:/QT/WebKit1/WebKitBuild/Release/CMakeFiles/CMakeTmp

    Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_03963.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
    Microsoft (R) Build Engine version 14.0.25420.1

    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 02/12/2016 17:14:30.

    Project "E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_03963.vcxproj" on node 1 (default targets).

    PrepareForBuild:

    Creating directory "cmTC_03963.dir\Debug".

    Creating directory "E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\Debug".

    Creating directory "cmTC_03963.dir\Debug\cmTC_03963.tlog".

    InitializeBuildStatus:

    Creating "cmTC_03963.dir\Debug\cmTC_03963.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

    ClCompile:

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_03963.dir\Debug\" /Fd"cmTC_03963.dir\Debug\vc140.pdb" /Gd /TC /analyze- /errorReport:queue E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c

    Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x86

    Copyright (C) Microsoft Corporation. All rights reserved.

    cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_03963.dir\Debug\" /Fd"cmTC_03963.dir\Debug\vc140.pdb" /Gd /TC /analyze- /errorReport:queue E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c

    CheckIncludeFiles.c

    E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'features.h': No such file or directory [E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_03963.vcxproj]

    Done Building Project "E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_03963.vcxproj" (default targets) -- FAILED.

    Build FAILED.

    "E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_03963.vcxproj" (default target) (1) ->

    (ClCompile target) ->

    E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'features.h': No such file or directory [E:\QT\WebKit1\WebKitBuild\Release\CMakeFiles\CMakeTmp\cmTC_03963.vcxproj]

    0 Warning(s)
    
    1 Error(s)
    

    Time Elapsed 00:00:00.99

    Source:
    /* */
    #include <features.h>

    int main(void){return 0;}

    Still have some problem with the path, I dont see the cmTC_03963.dir\Debug\ folder.

    Please help



  • @borisa said in Trying to build qt-webkit-tp4 on windows:

    loading initial cache file MAKE_PREFIX_PATH=E:\QT\WebKit1
    CMake Error: Error processing file: MAKE_PREFIX_PATH=E:\QT\WebKit1

    Don't you find this log lines weird? They are caused by missing "D" in "-CMAKE_PREFIX_PATH=E:\QT\WebKit1". Note that second -DCMAKE_PREFIX_PATH overwrites first, and you most probably need only one path here (path to Qt)



  • Hi,

    Now I got different error:
    compile with: perl Tools/Scripts/build-webkit --qt --release --cmakeargs="-Wno-dev -DCMAKE_PREFIX_PATH=E:\QT\QT_5.7.0Static"

    Checking Last-Modified date of qtwebkit-libs-win.zip...
    Current qtwebkit-libs-win is up to date
    Not searching for unused variables given on the command line.
    -- Could NOT find Ruby (missing: RUBY_LIBRARY) (found suitable version "2.3.0", minimum required is "1.9")
    CMake Warning at Source/cmake/ECMQueryQmake.cmake:22 (message):
    Failed call: qmake-qt5 -query "QT_INSTALL_PREFIX"
    Call Stack (most recent call first):
    Source/cmake/KDEInstallDirs.cmake:431 (query_qmake)
    Source/cmake/OptionsQt.cmake:6 (include)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/ECMQueryQmake.cmake:23 (message):
    QMake call failed: The system cannot find the file specified
    Call Stack (most recent call first):
    Source/cmake/KDEInstallDirs.cmake:431 (query_qmake)
    Source/cmake/OptionsQt.cmake:6 (include)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    -- Configuring incomplete, errors occurred!
    See also "E:/QT/WebKit1/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
    See also "E:/QT/WebKit1/WebKitBuild/Release/CMakeFiles/CMakeError.log".



  • @borisa please remove WebKitBuild and start cmake again



  • No, still have problem:

    Checking Last-Modified date of qtwebkit-libs-win.zip...
    Downloading qtwebkit-libs-win.zip...

    https://dl.dropboxusercontent.com/u/30021413/qtwebkit-libs-win.zip

    Installing qtwebkit-libs-win...
    The qtwebkit-libs-win has been sucessfully installed in
    E:\QT\WebKitA\WebKitLibraries\win
    Not searching for unused variables given on the command line.
    loading initial cache file MAKE_PREFIX_PATH=E:\QT\QT_5.7.0Static
    CMake Error: Error processing file: MAKE_PREFIX_PATH=E:\QT\QT_5.7.0Static
    -- Building for: Visual Studio 14 2015
    -- The C compiler identification is MSVC 19.0.24213.1
    -- The CXX compiler identification is MSVC 19.0.24213.1
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found BISON: C:/Program Files (x86)/GnuWin32/bin/bison.exe (found suitable version "2.4.1", minimum required is "2.1")
    -- Found Gperf: C:/Program Files (x86)/GnuWin32/bin/gperf.exe (Required is at least version "3.0.1")
    -- Found Perl: C:/Perl64/bin/perl.exe (found suitable version "5.20.2", minimum required is "5.10.0")
    -- Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.12", minimum required is "2.7.0")
    -- Could NOT find Ruby (missing: RUBY_LIBRARY) (found suitable version "2.3.0", minimum required is "1.9")
    -- Looking for include file features.h
    -- Looking for include file features.h - not found
    CMake Warning at Source/cmake/ECMQueryQmake.cmake:22 (message):
    Failed call: qmake-qt5 -query "QT_INSTALL_PREFIX"
    Call Stack (most recent call first):
    Source/cmake/KDEInstallDirs.cmake:431 (query_qmake)
    Source/cmake/OptionsQt.cmake:6 (include)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    CMake Error at Source/cmake/ECMQueryQmake.cmake:23 (message):
    QMake call failed: The system cannot find the file specified
    Call Stack (most recent call first):
    Source/cmake/KDEInstallDirs.cmake:431 (query_qmake)
    Source/cmake/OptionsQt.cmake:6 (include)
    Source/cmake/WebKitCommon.cmake:47 (include)
    CMakeLists.txt:135 (include)

    -- Configuring incomplete, errors occurred!
    See also "E:/QT/WebKitA/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
    See also "E:/QT/WebKitA/WebKitBuild/Release/CMakeFiles/CMakeError.log".



  • @borisa Same error with missing -D



  • you are right.

    Now I have new error (Error: could not load cache)

    Checking Last-Modified date of qtwebkit-libs-win.zip...
    Current qtwebkit-libs-win is up to date
    Not searching for unused variables given on the command line.
    -- Found BISON: C:/Program Files (x86)/GnuWin32/bin/bison.exe (found suitable version "2.4.1", minimum required is "2.1")
    -- Found Gperf: C:/Program Files (x86)/GnuWin32/bin/gperf.exe (Required is at least version "3.0.1")
    -- Found Perl: C:/Perl64/bin/perl.exe (found suitable version "5.20.2", minimum required is "5.10.0")
    -- Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.12", minimum required is "2.7.0")
    -- Could NOT find Ruby (missing: RUBY_LIBRARY) (found suitable version "2.3.0", minimum required is "1.9")
    -- Looking for include file features.h
    -- Looking for include file features.h - not found
    -- Found Sqlite: E:/QT/WebKitA/WebKitLibraries/win/include
    -- Looking for pthread.h
    -- Looking for pthread.h - not found
    -- Found Threads: TRUE
    -- Found JPEG: E:/QT/WebKitA/WebKitLibraries/win/lib32/libjpeg.lib
    -- Found ZLIB: E:/QT/WebKitA/WebKitLibraries/win/lib32/zlib.lib (found version "1.2.8")
    -- Found PNG: E:/QT/WebKitA/WebKitLibraries/win/lib32/libpng.lib (found version "1.6.20")
    -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
    -- Found ICU header files in E:/QT/WebKitA/WebKitLibraries/win/include
    -- Found ICU libraries: E:/QT/WebKitA/WebKitLibraries/win/lib32/icuuc.lib
    -- Found LibXml2: E:/QT/WebKitA/WebKitLibraries/win/lib32/libxml2.lib (found suitable version "2.9.3", minimum required is "2.8.0")
    -- Found LibXslt: E:/QT/WebKitA/WebKitLibraries/win/lib32/libxslt.lib (found suitable version "1.1.28", minimum required is "1.1.7")
    -- Could NOT find Fontconfig (missing: FONTCONFIG_LIBRARIES FONTCONFIG_INCLUDE_DIR)
    -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
    -- Found WEBP: E:/QT/WebKitA/WebKitLibraries/win/include

    -- The following OPTIONAL packages have been found:

    • WebP
    • Qt5OpenGL (required version >= 5.2.0)

    -- The following REQUIRED packages have been found:

    • BISON (required version >= 2.1)
    • Gperf (required version >= 3.0.1)
    • Perl (required version >= 5.10.0)
    • PythonInterp (required version >= 2.7.0)
    • Sqlite
    • Threads
    • JPEG
    • PNG
    • ZLIB
    • ICU
    • LibXml2 (required version >= 2.8.0)
    • LibXslt (required version >= 1.1.7)
    • Qt5Core
    • Qt5Gui
    • Qt5Network
    • Qt5Sql
    • Qt5Widgets
    • Qt5Test
    • Qt5Positioning
    • Qt5Sensors
    • Qt5PrintSupport
      Required for ENABLE_PRINT_SUPPORT=ON
    • Qt5 (required version >= 5.2.0)
    • Qt5Multimedia (required version >= 5.2.0)
    • Qt5MultimediaWidgets (required version >= 5.2.0)
    • Ruby (required version >= 1.9)

    -- The following OPTIONAL packages have not been found:

    • Fontconfig
    • PkgConfig

    -- Using platform-specific CMakeLists: E:/QT/WebKitA/Source/WTF/wtf/PlatformQt.cmake
    -- The ASM_MASM compiler identification is MSVC
    -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/ml.exe
    -- Using platform-specific CMakeLists: E:/QT/WebKitA/Source/JavaScriptCore/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/WebKitA/Source/JavaScriptCore/shell/PlatformQt.cmake
    -- All-in-One build is enabled.
    -- Using platform-specific CMakeLists: E:/QT/WebKitA/Source/WebCore/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/WebKitA/Source/WebKit/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/WebKitA/Source/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/WebKitA/Tools/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/WebKitA/Tools/TestWebKitAPI/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/WebKitA/Tools/DumpRenderTree/PlatformQt.cmake
    -- Using platform-specific CMakeLists: E:/QT/WebKitA/Tools/ImageDiff/PlatformQt.cmake
    -- Enabled features:
    -- ENABLE_ALLINONE_BUILD ................... ON
    -- ENABLE_API_TESTS ON
    -- ENABLE_CSS_GRID_LAYOUT .................. ON
    -- ENABLE_DATABASE_PROCESS OFF
    -- ENABLE_DATALIST_ELEMENT ................. ON
    -- ENABLE_DEVICE_ORIENTATION ON
    -- ENABLE_DRAG_SUPPORT ..................... ON
    -- ENABLE_FULLSCREEN_API OFF
    -- ENABLE_GAMEPAD_DEPRECATED ............... OFF
    -- ENABLE_GEOLOCATION ON
    -- ENABLE_ICONDATABASE ..................... ON
    -- ENABLE_INDEXED_DATABASE ON
    -- ENABLE_INSPECTOR_UI ..................... ON
    -- ENABLE_JIT ON
    -- ENABLE_LEGACY_WEB_AUDIO ................. OFF
    -- ENABLE_LINK_PREFETCH ON
    -- ENABLE_MEDIA_SOURCE ..................... OFF
    -- ENABLE_NETSCAPE_PLUGIN_API ON
    -- ENABLE_OPENGL ........................... OFF
    -- ENABLE_PRINT_SUPPORT ON
    -- ENABLE_SAMPLING_PROFILER ................ ON
    -- ENABLE_SPELLCHECK ON
    -- ENABLE_TOUCH_EVENTS ..................... ON
    -- ENABLE_VIDEO ON
    -- ENABLE_WEB_AUDIO ........................ OFF
    -- ENABLE_X11_TARGET OFF
    -- ENABLE_XSLT ............................. ON
    -- USE_GSTREAMER OFF
    -- USE_LIBHYPHEN ........................... OFF
    -- USE_QT_MULTIMEDIA ON
    -- USE_SYSTEM_MALLOC ....................... 1
    -- USE_WOFF2 ON
    -- Configuring done
    -- Generating done
    -- Build files have been written to: E:/QT/WebKitA
    Error: could not load cache



  • No idea, could you show what command have your run? Have you modified any environment variables?



  • Hi,

    The command:
    perl Tools/Scripts/build-webkit --qt --release --cmakeargs="-Wno-dev -DCMAKE_PREFIX_PATH=E:\QT\QT_5.7.0Static"

    PATH:
    C:\Ruby23\bin;E:\QT\cmake-3.7.0-win64-x64\bin;C:\Program Files (x86)\GnuWin32;C:\Program Files (x86)\GnuWin32\bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\MSBuild\14.0\bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools;C:\Python27;C:\Python27\Scripts;C:\Python35\Scripts;C:\ProgramData\Oracle\Java\javapath;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\nodejs;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;

    LIB:
    E:\QT\icu\dist\lib;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows Kits\10\lib\10.0.10586.0\ucrt\x86;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.10586.0\um\x86;

    Include:
    E:\QT\icu\dist\include;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\ucrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\winrt;



  • Please ensure that you have enough free space
    Remove WebKitBuild and run that command again
    Haven't you set WEBKIT_OUTPUTDIR variable recently?



  • No, do i need to set it? if so, What path I should set? the qt path?



  • No it is not required



  • @borisa said in Trying to build qt-webkit-tp4 on windows:

    Where can i find the known problems of static webkit in the windows?

    Fix was merged to qtwebkit-stable branch, coming soon in snapshots repo, TP5 is also coming.



  • Hi,

    When?



  • @borisa Sorry, forgot to notify you, all fixes were pushed to snapshots repo some time ago


Log in to reply
 

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