![]() |
QML webview unable to load from html property or file:// URL
I figured I'd post here before reporting a bug - seeing as how someone may have some more insight into this.
Running the following (be it from Python or qmlviewer directly) works great on both my desktop and my N900: Code:
import Qt 4.7 Code:
import Qt 4.7 Code:
import Qt 4.7 |
Re: QML webview unable to load from html property or file:// URL
Setting the HTML worked for me (in the QMLViewer), but I needed to insert a <font color='white'> tag:
Code:
import QtQuick 1.0 I think the problem is that you have not set the width and height properties of the rectangle, so it defaults to 0 * 0. You should set the rectangle to 800 * 480, and use anchors.fill: parent for the webView. |
Re: QML webview unable to load from html property or file:// URL
Quote:
Many thanks :) |
All times are GMT. The time now is 01:14. |
vBulletin® Version 3.8.8