Qt WebEngine Platform Notes
Target Platforms
Qt WebEngine does try to support all Supported Platforms of Qt. However, due to different requirements of Chromium this is not always possible. Known limitations are:
- Qt WebEngine currently supports only Windows, Linux, and OS X.
- On Windows, Qt WebEngine only supports Windows Vista or newer as target platform. Due to use of newer API in Chromium, Windows XP is not supported. WinRT is not supported, either.
Building Qt WebEngine from Source
Static builds are not supported.
The requirements for building Qt 5 modules from source are listed separately for each supported platform:
- Qt for Windows - Requirements
- Qt for X11 Requirements
- Qt for OS X - Requirements
In addition, the following tools are required for building the Qt WebEngine module:
The tests for skipping the Qt WebEngine build are located in the qtwebengine
repository, in the tools\qmake\mkspecs
subdirectory. They can be found by searching for skipBuild
.
All Platforms
On all platforms, the following tools are required:
- Python 2.7 or later
- Bison, Flex
- GPerf
Windows
On Windows, Visual Studio 2013 or Visual Studio 2015 is required.
Linux
On Linux, Clang or GCC version 4.7 or later is required. Supported configurations are linux-g++
and linux-clang
.
Qt WebEngine requires pkg-config
to detect most of its dependencies. The following pkg-config
files are required:
dbus-1
fontconfig
If Qt was configured for xcb
, the following pkg-config
files are also required:
libdrm
xcomposite
xcursor
xi
xrandr
xscrnsaver
xtst
Further, development packages for khr
and libcap
need to be installed.
OS X
On OS X, Xcode version 5.1 or later on OS X 10.9 or later is required.
Note: Qt WebEngine cannot be built for the 32-bit mode of OS X (using the macx-clang-32
mkspec
).
Default QSurfaceFormat OpenGL Profile Support
If a new default QSurfaceFormat with a modified OpenGL profile has to be set, it should be set before the application instance is declared, to make sure that all created OpenGL contexts use the same OpenGL profile.
On OS X, if the default QSurfaceFormat is set after the application instance, the application will exit with qFatal(), and print a message that the default QSurfaceFormat should be set before the application instance.