Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Trying to build qt-webkit-tp4 on windows
Forum Updated to NodeBB v4.3 + New Features

Trying to build qt-webkit-tp4 on windows

Scheduled Pinned Locked Moved Qt WebKit
24 Posts 2 Posters 10.3k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    Konstantin Tokarev
    wrote on last edited by
    #7

    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

    1 Reply Last reply
    1
    • B Offline
      B Offline
      borisa
      wrote on last edited by
      #8

      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

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Konstantin Tokarev
        wrote on last edited by
        #9

        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

        1 Reply Last reply
        1
        • B Offline
          B Offline
          borisa
          wrote on last edited by borisa
          #10

          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

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Konstantin Tokarev
            wrote on last edited by
            #11

            @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)

            1 Reply Last reply
            1
            • B Offline
              B Offline
              borisa
              wrote on last edited by
              #12

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

              K 1 Reply Last reply
              0
              • B borisa

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

                K Offline
                K Offline
                Konstantin Tokarev
                wrote on last edited by
                #13

                @borisa please remove WebKitBuild and start cmake again

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  borisa
                  wrote on last edited by
                  #14

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

                  K 1 Reply Last reply
                  0
                  • B borisa

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

                    K Offline
                    K Offline
                    Konstantin Tokarev
                    wrote on last edited by
                    #15

                    @borisa Same error with missing -D

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      borisa
                      wrote on last edited by
                      #16

                      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

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        Konstantin Tokarev
                        wrote on last edited by
                        #17

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

                        1 Reply Last reply
                        0
                        • B Offline
                          B Offline
                          borisa
                          wrote on last edited by
                          #18

                          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;

                          1 Reply Last reply
                          0
                          • K Offline
                            K Offline
                            Konstantin Tokarev
                            wrote on last edited by
                            #19

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

                            1 Reply Last reply
                            0
                            • B Offline
                              B Offline
                              borisa
                              wrote on last edited by
                              #20

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

                              K 1 Reply Last reply
                              0
                              • B borisa

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

                                K Offline
                                K Offline
                                Konstantin Tokarev
                                wrote on last edited by
                                #21

                                No it is not required

                                1 Reply Last reply
                                0
                                • B borisa

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

                                  K Offline
                                  K Offline
                                  Konstantin Tokarev
                                  wrote on last edited by
                                  #22

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

                                  1 Reply Last reply
                                  1
                                  • B Offline
                                    B Offline
                                    borisa
                                    wrote on last edited by
                                    #23

                                    Hi,

                                    When?

                                    K 1 Reply Last reply
                                    0
                                    • B borisa

                                      Hi,

                                      When?

                                      K Offline
                                      K Offline
                                      Konstantin Tokarev
                                      wrote on last edited by
                                      #24

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

                                      1 Reply Last reply
                                      0

                                      • Login

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Users
                                      • Groups
                                      • Search
                                      • Get Qt Extensions
                                      • Unsolved