movableink / webkit

Unofficial mirror of the WebKit SVN repository
http://www.webkit.org/
62 stars 11 forks source link

Unable to compile on Windows #26

Open JoeMama54 opened 8 months ago

JoeMama54 commented 8 months ago

Thank you for your continued work on qtwebkit.

I've been trying to compile QTWebkit on Windows for a while now and I have made 0 progress. Conan is dead and CMake has been telling me that harfbuzz is missing ICU even though all the ICU files are there. Any help would be great

JoeMama54 commented 8 months ago

I am compiling with cmake -DPORT=Qt -DCMAKE_BUILD_TYPE=Release -DQt5_DIR=E:\build\qt5\qt-5.15.3-dynamic-msvc2017-x86\lib\cmake\Qt5

-- Found the following HarfBuzz libraries:
--  HarfBuzz (required): E:/build/harfbuzz/build/src/harfbuzz.lib
-- The following HarfBuzz libraries were not found:
--  ICU (required)
CMake Error at C:/Strawberry/c/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find HarfBuzz (missing: _HarfBuzz_REQUIRED_LIBS_FOUND) (found
  suitable version "2.3.1", minimum required is "0.9.18")
Call Stack (most recent call first):
  C:/Strawberry/c/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  Source/cmake/FindHarfBuzz.cmake:153 (find_package_handle_standard_args)
  Source/cmake/WebKitFindPackage.cmake:36 (_find_package)
  Source/cmake/OptionsQt.cmake:408 (find_package)
  Source/cmake/WebKitCommon.cmake:233 (include)
  CMakeLists.txt:21 (include)
quarcko commented 8 months ago

We tried to build on Windows with MINGW compiler - but situation there is far worse that building it on Ubuntu.

I am currectly busy with other stuff, but eventually will get back to it in few weeks probably and then i'll update my repo and also make a PR once i manage to complete the build.

for missing libraries pleas consider using this repo: https://github.com/WebKitForWindows/WebKitRequirements