Hello,
Please anyone know how to make QML WebView Element use Qt::openUrlExternally(url) instead of newWindowComponent (when clicking on link that try to open a newWindowComponent)?
Hello,
Please anyone know how to make QML WebView Element use Qt::openUrlExternally(url) instead of newWindowComponent (when clicking on link that try to open a newWindowComponent)?
Last edited by kenouz1234; 2012-04-26 at 02:06.
hmmm i don't think there is any direct way , but you try something like onLoadStarted you can check for the URL and than call Qt.openUrlExternally there. I am not sure how this is going to work this is just an idea.
If isn't possible to do this directly with QML WebVew, there is a possibility to do this with QNetworkAccessManager to catch and open externally the url of newWindowComponent?