Changes between Version 25 and Version 26 of BuildingQtOnWindows
- Timestamp:
- Feb 25, 2010, 2:04:57 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingQtOnWindows
v25 v26 25 25 * Open for example a Qt Command Prompt from the Start Menu.[[BR]]You need an MSVC or MinGW command line environment that matches the version of Qt you downloaded.[[BR]]Note that building inside Cygwin or MSYS is currently not supported. Please use a Windows command prompt. 26 26 * Change into the WebKit source tree 27 * Run {{{perl WebKitTools\Scripts\build-webkit --qt }}}27 * Run {{{perl WebKitTools\Scripts\build-webkit --qt --release}}} 28 28 * Wait :) 29 29 * Try to run WebKitBuild\Release\bin\QtLauncher.exe … … 32 32 33 33 * If you want to compile using multiple cores: 34 * On MinGW use build-webkit's --makeargs option: {{{perl WebKitTools\Scripts\build-webkit --qt --makeargs=-j4}}}34 * On MinGW you can try {{{set MAKE_COMMAND=mingw32-make -j%NUMBER_OF_PROCESSORS%}}}.[[BR]] If this do not work you might have to Ctrl-C {{{build-webkit}}}'s execution, go in the WebKitBuild\Release\ directory and run {{{mingw32-make -C WebCore -f Makefile.Release -j%NUMBER_OF_PROCESSORS% && mingw32-make}}} 35 35 * On MSVC use the CL environment variable along with the /MP switch: {{{set CL= /MP}}} 36 36 * If you can't access HTTPS pages and you compiled Qt from sources, make sure that you configured it with OpenSSL support. You will need the non-light version of [http://www.slproweb.com/products/Win32OpenSSL.html Win32 OpenSSL] libraries. … … 61 61 11. Build the patched webkit (release mode): 62 62 `$perl WebKitTools\Scripts\build-webkit --qt --release` 63 12. The webkit build takes forever, so if you have more than one CPU on your machine you should use `--makeargs=-j4` (for 4 CPUs). This will speed up the build no end. Other recommendations are `--no-svg`. There is even a `--minimal` flag available in recent webkit versions:63 12. The webkit build takes forever, you can shorten it using the build-webkit's `--no-svg` or `--minimal` flags: 64 64 {{{ 65 $perl WebKitTools\Scripts\build-webkit --qt --release --makeargs=-j466 65 $perl WebKitTools\Scripts\build-webkit --qt --release --no-svg 67 66 $perl WebKitTools\Scripts\build-webkit --qt --release --minimal