Doc: Correct snippets for QWebEngineView API doc.

Those were using wrong action names and also the wrong trigger
methods in the wrong context.

Change-Id: If124bf7836a553dc4a632db208cee41fb998c622
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Notify canGoBack/canGoForward on urlChanged instead of loadingChanged.

In order to support Fragment (#) based routing and history navigation
together, canGoBack/canGoForward properties should be notified when the
url is changed instead of when the page is loading.

Task-number: QTBUG-41849
Change-Id: Ic995fffa5c683dade88fbd98ffea90527a77261b
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Reviewed-by: Jarred Nicholls <jarred.nicholls@gmail.com>
Revert "Allow more generic platform names for linux based platforms."

We need a better solution to find out if we are building on a 64bit system.

This reverts commit 58806890b496aef7c2880e651a8bb73b090cd72a.

Change-Id: I43c48b5cbc5e96f93b65165b0445670a832b0206
Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
Bounds check the zoom factor before we pass it along.

As it turns out failing to do so can mess up the page state.

Change-Id: I8cc785b01c73bde5443bdb78554d7b3809d96afe
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Do not run Callback for already canceled URLRequests.

Doing so causes a check to fail in URLRequest::BeforeRequestComplete.

Change-Id: I487042b922b3f357bd8d9579167d9b372963ff29
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Fix localization on OS X

We did not load any localization data on OS X until now,
so the error page did not have any strings, and some
tests asserted because of missing localization.

Change-Id: Icb6de1f7e3aaa6815483d379efaf00e8ed6a1dbf
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Import QQuickWebEngineView API test

Add crash tests for the Quick API and mark the unimplemented features
in the test logs.

Change-Id: I8e6b322fb1bb5ed75fed8b9556e2e975c9227f0a
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Use the shared waitForSignal method in QQuickWebEngineViewGraphics test

Change-Id: Ie27e4af5f4517bb1e1eea1262ab32140b3dff816
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Disable Desktop Notifications.

This should be removed once desktop notifications
have been implemented.

Task-number: QTBUG-41893
Change-Id: Ia004ee8946ae4441027161f5dddf05d304df8b1b
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Add setting ErrorPageEnabled

This is required so that embedders can implement custom error pages,
and is also needed for tests, where error-page loading has side-effects
on subsequent page loads.

Change-Id: I5ae276a58864a2fa9d7b608bea3340b482a92f4e
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Fix up coding style in GetNavigationErrorStrings

That code was borrowed straight from Chromium and used the Chromium
coding style.

Change-Id: I212aea23f19056b901cbc770640faed4998f02fd
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Fix ARM NEON detection for -mfpu=neon-vfpv4

Change-Id: I972d3560d6aa2640a2702f219cf802d2476b1c6e
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Include QMAKE_CC when extracting C compiler flags

This fixes cross-compile settings detection for cross-compilation
environments where the C compiler cross-compilation flags are set in
CC/QMAKE_CC instead of CFLAGS/QMAKE_CFLAGS (e.g. OpenEmbedded).

Change-Id: I0a7b0f6c47a00775ec18073a16359c8351363285
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Add plugins.qmltypes for WebEngine API

Task-number: QTBUG-41952
Change-Id: Ic21089a34364696c8ff7e68e397e39f8f0b7f5cc
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Allow building on boot2qt.

Change-Id: I91ce455ac5e3992e50d13c14f4035f91baad85bf
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Look for the NINJA_PATH env var and prefer that over the bootstrapped ninja

The snapshot ninja may cause issues in some environments, where a different
ninja version may work. If the user has NINJA_PATH set in their environment,
prefer that over bootstrapping our own.

Change-Id: I4c6d2f479aeae1f5137705ed2deb995b59ea287a
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Disable geolocation

This prevents the crash when a webpage requests geolocation permission.

Change-Id: I7331b869ec1439d678cee7941691289220718f3d
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Enable build on all supported linux platforms.

The build did not work when configuring to linux-g++-64,
although the platform is supported.

Task-number: QTBUG-41918
Change-Id: If2c8a5722d7d6b0ca28a99763531d8ffd9534de7
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Display error if building for ARM architecture older than ARMv6

Chromium is only supported on ARMv6 and ARMv7 for ARM architecture.

Change-Id: I0493c9ba2baf4a537f759286622056093c0d4a25
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Add checks for python and GCC versions.

The GCC version check is only run on Linux.
Change-Id: I524508d763005190764526ce337dc348e5ba4fcb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>