Code Monkey home page Code Monkey logo

qtwebengine's Introduction

QtWebEngine - Combining the power of Chromium and Qt

To be able to build QtWebEngine you need Qt 5.2 or newer.

I. Getting the Code

1) Clone the QtWebEngine repository

git clone git://gitorious.org/qt-labs/qtwebengine.git

2) Initialize the repository

This will fetch a snapshot of chromium sources we rely on.

./init-repository.py

II. Build Instructions##

1) Generate the ninja build files by running qmake.

It's a also possible to use qmake -r to forcefully re-gyp (without relying on make to determine if it's necessary).

qmake

2) build with make

Everything should be set up properly now.

make

3) [optional] make install

This step is required for installing l10n files and other resources (such as the resources for the remote inspector).

make install

Additional tips and tricks

Complete Upstream Chromium Checkout

If you want to have a complete chromium checkout with the complete history instead of the snapshot, then you can run the init-repository script with the -u option.

This will then create a complete ninja and chromium checkout in the subdirectory src/3rdparty_upstream. qmake will automatically pickup the location and make use of the sources in the subsequent steps II.1) and II.2).

./init-repository.py -u

Use external Chromium sources

If you want to use external chromium sources instead of the submodule provided in the QtWebEngine repository, you can export the CHROMIUM_SRC_DIR variable point it to your source directory.

Debug vs. Release builds

By default, the configuration used for building Qt is followed. It is possible to override this by passing CONFIG+=release or debug at qmake time. e.g:

qmake -r CONFIG+=debug

qtwebengine's People

Contributors

albertd avatar bbandix avatar carewolf avatar davidsz avatar jpetersen avatar jturcotte avatar kaadam avatar phartmann avatar slow3000 avatar stampho avatar xiaobwang avatar zenoalbisser avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.