Skip to content

Instantly share code, notes, and snippets.

@mistificator
Last active May 3, 2018 12:32
Show Gist options
  • Save mistificator/c9a777981cccb6f04df5189381e48b49 to your computer and use it in GitHub Desktop.
Save mistificator/c9a777981cccb6f04df5189381e48b49 to your computer and use it in GitHub Desktop.
rem ### Download patched sources https://github.com/annulen/webkit/wiki
rem ### Initial instructions https://trac.webkit.org/wiki/BuildingQtOnWindows
rem ### Install OpenSSL, ActiveState Perl, Python 2.x, Ruby, CMake
rem ### -------- Install GnuWin32: Bison, GPerf, Grep, Flex and win_flex, LibIconv
rem ### -------- Replacing flex.exe with win_flex.exe may save your life :)
rem ### -------- Create folder PATH_TO_QTWEBKIT_SOURCES/WebKitLibraries/win
rem ### Select right toolchain: -G \"CMAKE_GENERATOR_NAME\", for example -G \"Visual Studio 15 2017 Win64\", see https://cmake.org/cmake/help/v3.11/generator/Visual%20Studio%2015%202017.html
rem ### Here is main build command, add it in Qt Creator as special project build step
rem ### perl.exe PATH_TO_QTWEBKIT_SOURCES\Tools\Scripts\build-webkit --qt --release --cmakeargs="-G \"CMAKE_GENERATOR_NAME\" -T host=x64 -Wno-dev -DCMAKE_PREFIX_PATH=PATH_TO_QT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment