Nikhil Patil
Nikhil Patil

Reputation: 487

WebView display blank white screen

I've used the Webview to display the webpage within the my QtQuick app. But its showing the blank screen instead of displaying the webpage. Also it gives some warning saying "using qt quick 1 code model instead of qt quick 2".

Upvotes: 2

Views: 3052

Answers (2)

mat_krauser
mat_krauser

Reputation: 33

I have the exact same issue here. If you are on Windows, it looks like this bug which which is fixed for Qt 5.3 (release date 29th of April).

Upvotes: 1

Redanium
Redanium

Reputation: 879

QWebView::url for relative paths must be of the form file:///path/to/your/file.Therefore, in your case it'll be file:///D:/html/html.html

Upvotes: 1

Related Questions