Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWebEngineView does not follow sponsored links
Forum Updated to NodeBB v4.3 + New Features

QWebEngineView does not follow sponsored links

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 573 Views
  • 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.
  • M Offline
    M Offline
    Mikeeeeee
    wrote on last edited by
    #1

    Hi.
    QWebEngineView does not follow sponsored links, but goes on regular links.
    Possible complexity in javascript scripts.
    How to fix a bug.

    jsulmJ 1 Reply Last reply
    0
    • M Mikeeeeee

      Hi.
      QWebEngineView does not follow sponsored links, but goes on regular links.
      Possible complexity in javascript scripts.
      How to fix a bug.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @Mikeeeeee I don't think this is a bug. I think QWebEngineView simply does not follow links to other domain than the one currently loaded.
      Maybe you need to change https://doc.qt.io/qt-5/qwebenginesettings.html#setUnknownUrlSchemePolicy

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • M Offline
        M Offline
        Mikeeeeee
        wrote on last edited by
        #3

        In Qt 5.12, I do not compile, but in Qt 5.9 it compiles.
        Is it possible to fix this with Qt 5.9?

        jsulmJ 1 Reply Last reply
        0
        • M Mikeeeeee

          In Qt 5.12, I do not compile, but in Qt 5.9 it compiles.
          Is it possible to fix this with Qt 5.9?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Mikeeeeee The method I mentioned was introduced in Qt 5.11

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Mikeeeeee
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • M Offline
              M Offline
              Mikeeeeee
              wrote on last edited by
              #6
              This post is deleted!
              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