QML WebView Element does not render XHTML properly (Known Issue)
The QML WebView Element does not render XHTML properly.
Article Metadata
Dependencies: QtWebKit 1.0
Article
Created: Devnull
(08 Dec 2011)
Last edited: hamishwillee
(13 Aug 2012)
Introduction
There is no property to switch between HTML and XHTML pages in Webview. The page loaded and saving via HTML tag does save its content. The rendering of the page is affected.
The following page is in XHTML and rendered as a black page, no text:
import QtWebKit 1.0
WebView
{ id: web url: "http://bumerang.hu/?ezaz=2_20111202"
//url: "http://nokia.com" // shown correctly
anchors.centerIn: parent width: 200 height: 200
settings.javascriptEnabled : false
scale: 0.5
smooth: false }
Page identify itself:
Summary
The issue is reported as the following bug: QTBUG-23023

