Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Qt 5.12 setting iframe src triggers NavigationTypeLinkClicked

Qt 5.12 setting iframe src triggers NavigationTypeLinkClicked

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 409 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    IvanKaramazov
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved