Changes between Version 25 and Version 26 of BuildingQtOnWindows


Ignore:
Timestamp:
Feb 25, 2010 2:04:57 AM (14 years ago)
Author:
jocelyn.turcotte@nokia.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingQtOnWindows

    v25 v26  
    2525 * 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.
    2626 * Change into the WebKit source tree
    27  * Run {{{perl WebKitTools\Scripts\build-webkit --qt}}}
     27 * Run {{{perl WebKitTools\Scripts\build-webkit --qt --release}}}
    2828 * Wait :)
    2929 * Try to run WebKitBuild\Release\bin\QtLauncher.exe
     
    3232
    3333 * 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}}}
    3535   * On MSVC use the CL environment variable along with the /MP switch: {{{set CL= /MP}}}
    3636 * 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.
     
    6161  11. Build the patched webkit (release mode):
    6262    `$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:
    6464{{{
    65     $perl WebKitTools\Scripts\build-webkit --qt --release --makeargs=-j4
    6665    $perl WebKitTools\Scripts\build-webkit --qt --release --no-svg
    6766    $perl WebKitTools\Scripts\build-webkit --qt --release --minimal