Reputation: 15390
say I have a basic QML file which listens for the onLoadFailed signal like this:
import QtQuick 1.1
import QtWebKit 1.0
WebView
{
onLoadFailed: {
}
url: "bogus_url"
}
In this example, I should get a 404 or a 500. What should I put in the onLoadFailed to output the error message that was returned?
Upvotes: 2
Views: 907