[Qtwebengine] Building Qtwebengine in Windows

Bruning Michael Michael.Bruning at digia.com
Mon Jul 7 11:29:52 CEST 2014


Hello Shijuraj J,

Windows won't build out of the box at the moment, but you can apply some work-in-progress patches for Gerrit that will enable a 32-Bit build with Microsoft Visual Studio. Please note that this is a work in progress, so things might break temporarily.

You will need:
  * At least Windows 7
  * Visual Studio 2012 or 2013, full version or Express Edition
  * The Windows 8 SDK: http://msdn.microsoft.com/en-us/windows/hardware/hh852363.aspx
  * The June 2010 DirectX SDK from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6812
  * If you are using an Express edition of Visual Studio, you need the Windows 7.1 DDK: http://www.microsoft.com/en-us/download/details.aspx?id=11800

  * A build of the dev branch of qt5 configured with -angle and -opengl es2.
  * A checked out and initialized qtwebengine repository
  * This work-in-progress-patch from gerrit for qtwebengine: https://codereview.qt-project.org/#/c/87886/
  * This work-in-progress-patch from gerrit for the src/3rdparty submodule: https://codereview.qt-project.org/#/c/87426/

When you have downloaded and installed the prerequisites, open a developer prompt and set the environment variables so that the respective libraries from your Qt build is included in PATH, INCLUDE, LIB etc.

If you installed the Windows 8 SDK to anywhere else than "C:\Program Files (x86)\Windows Kits\8.0", you need to set the environment variable GYP_DEFINES=windows_sdk_path="path to your sdk installation"

If you are using the Express Edition of Visual Studio, you need to set the environment variable WDK_DIR to where you installed the Windows 7.1 driver kit (e.g. C:\WinDDK\7600.16385.1)

Then, you need to set the GYP_MSVS_VERSION environment variable to reflect you visual studio version, e.g.:
               "2012e" for the Visual Studio 2012 Express Edition
               "2012" for the Visual Studio 2012 full version
etc.

Now, you should be able to build Qt WebEngine from it's top level directory (shadow building is not working at the moment):
    * qmake -r [optional: CONFIG+=debug or CONFIG+=release]
    * nmake
    * nmake install

To run QtWebEngine, you have to copy the file icudt46l.dat file from src/core/debug or src/core/release to the bin directory of your Qt build / installation.

Best regards,
Michael

________________________________
From: qtwebengine-bounces+michael.bruning=digia.com at qt-project.org [qtwebengine-bounces+michael.bruning=digia.com at qt-project.org] on behalf of Shijuraj J [shijuraj at gmail.com]
Sent: Monday, July 07, 2014 09:22
To: qtwebengine at qt-project.org
Subject: [Qtwebengine] Building Qtwebengine in Windows

Hi,

Is it possible to build QTwebegine in windows now? If so what are the steps?

With Regards
Shijuraj J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20140707/fcb949e6/attachment.html>


More information about the QtWebEngine mailing list