QtWebView signal for URL changes
Unsolved
Mobile and Embedded
-
Hey guys,
I'm looking for a way to detect if the URL was changed in QML.
The documentation doesn't seem to contain too much info:
http://doc.qt.io/qt-5/qml-qtwebview-webview.htmlCurrent code is quite simple:
import QtQuick 2.2
import QtWebView 1.1Rectangle {
width: 2000
height: 2000
WebView {
objectName: "webView"
anchors.fill: parent
id: webView
url: "http://www.qt.io"
}
}Thanks in advance!
-
Hi,
Since url is a property you have the onUrlChanged signal to react to that.