Add the missing pieces to make the module build-able with qmake

Change-Id: I77d83c3865cbb29bacf20781a5cbe6255216ab10
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Add iOS implementation.

Use UIWebView instead of the newer WKWebView for
pre-iOS8 compatibility.

Implement QWindowControllerItem for iOS instead of
using QWindow::fromWinId() - foreign windows are not
yet supported on iOS.

Change-Id: I75edd3032ad5dc4c81d31f86e441b69ca21c0046
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Fix exports.

Add qwebview_global.h file to ensure exports work on Windows.

Change-Id: Ide184a575dd7355b148ec21964e53dca1f555c77
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Fix test for Windows.

Create the cache location in case it does not exist.
Use a temporary file to prevent leaks and clashes.
Use QUrl::fromLocalFile().

Change-Id: I0dec5eadd1eac54818d8971b9f4236955651b8af
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Fix build on OS X

This patch corrects the include path for qwebview_global.h as well
as fix the headers generation

Change-Id: I23893e3e2c33979208e597d6f755d4e94a4eacca
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Document QUrl usage behavior.

Document that QUrls are used as-is and that QUrl::fromUserInput
should be called when appropriate.

Update the example to call QUrl::fromUserInput via
a helper class. This is a workaround until QtQuick
provides a fromUserInput function.

Change-Id: I51f521126e50ee4d9b0223ef11f32d5576be10a8
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Improve the Look&Feel of the webview example

The example was not looking or behaving correctly on Android.

Change-Id: Ic7e69c3cdf55e8ac4762794824ca7d9bc905cdc9
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Android: Don't use URLUtil.guessUrl()

The string should be past unmodified to the back-end.

Change-Id: I03a95953a5c872b47b888fbd689e714eeaa85d26
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
QWindowControllerItem: Always check for m_controlledWindow.

Prevent the example from crashing when implementation is available.

Change-Id: I0ad40c2f5220ab07c4f3fb67d57997e4c78b6ff8
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Android: Call onResume() and onPause() when the application is paused.

To avoid unnecessary resource usage we should call onPause() and
onResume() on the WebView when the application state changes to avoid
unnecessary resource usage.

Change-Id: I31bf37f8b13e8f9da65a7a6c616c536456c5bea2
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Add dtor in QWindowControllerItem.

Both the base and Android implementation needs to clean-up their
resources on destruction.

Change-Id: I504ed781bc8400afb044ed54c5fbe13daf8c917d
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Android: Add separate controller item for android.

We need translate the geometry coordinates to position the window
correctly in the scene.

Change-Id: I8ed36a446b31fdeaf478b1ac660f29813fba39a4
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Add iOS to the list of supported platforms in the overview doc page.

Change-Id: Id02b68853374852e5a8e47a80667482ef5e9bcb5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>