Qt 5.12 setting iframe src triggers NavigationTypeLinkClicked

  • In Qt 5.9 when setting iframe attr{src, url} a NavigationTypeOther would be passed to QtWebEnginePage::acceptNavigationRequest() In Qt 5.12 this has changed to NavigationTypeLinkClicked. This is causing an issue with distinguishing between loading the external web page and clicking a link on the loaded web page.
    This is probably not a bug. I am not a web developer. Is there a possible workaround?
    Thanks in advance!
    Re: Why iframe triggered QWebPage::acceptNavigationRequest(url

Log in to reply