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
Forum Updated to NodeBB v4.3 + New Features

Qt 5.12 setting iframe src triggers NavigationTypeLinkClicked

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 321 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 10 Jan 2019, 18:37 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

    1/1

    10 Jan 2019, 18:37

    • Login

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