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

Sub-frames access

Scheduled Pinned Locked Moved QtWebEngine
7 Posts 3 Posters 1.7k Views 1 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.
  • Y Offline
    Y Offline
    yage
    wrote on 13 Nov 2015, 12:07 last edited by
    #1

    Hello everybody

    Documentation says that it is impossible to gain access to sub-frames iframes.

    https://wiki.qt.io/Porting_from_QtWebKit_to_QtWebEngine

    I don't know the others, but my projects are actively using this opportunity and ban access to it sounds at least strange. I just can't use QWebEngine in their projects.

    Any workaround please

    1 Reply Last reply
    1
    • N Offline
      N Offline
      NoRulez
      wrote on 17 Nov 2015, 22:58 last edited by
      #2

      I need this too. I'm also missing some functionality to iterate over web form elements, determine frame name, ...

      So for me the QtWebEngine is not complete and has many bugs

      1 Reply Last reply
      1
      • K Offline
        K Offline
        knt261
        wrote on 20 Nov 2015, 00:46 last edited by
        #3

        Not sure if your problem is the same as mine, but try to pass the "--disable-web-security" argument to the QApplication object in your main.cpp.

        Y N 2 Replies Last reply 21 Nov 2015, 11:02
        0
        • K knt261
          20 Nov 2015, 00:46

          Not sure if your problem is the same as mine, but try to pass the "--disable-web-security" argument to the QApplication object in your main.cpp.

          Y Offline
          Y Offline
          yage
          wrote on 21 Nov 2015, 11:02 last edited by
          #4

          @knt261 Thank you very much! This permits access to the contents of the iframe from javascript

          N 1 Reply Last reply 22 Dec 2015, 06:46
          0
          • K knt261
            20 Nov 2015, 00:46

            Not sure if your problem is the same as mine, but try to pass the "--disable-web-security" argument to the QApplication object in your main.cpp.

            N Offline
            N Offline
            NoRulez
            wrote on 22 Dec 2015, 05:18 last edited by
            #5

            @knt261 how can i access sub frames with this argument,?

            1 Reply Last reply
            0
            • Y yage
              21 Nov 2015, 11:02

              @knt261 Thank you very much! This permits access to the contents of the iframe from javascript

              N Offline
              N Offline
              NoRulez
              wrote on 22 Dec 2015, 06:46 last edited by
              #6

              @yage how did you solve it?

              Y 1 Reply Last reply 16 Jan 2016, 07:07
              0
              • N NoRulez
                22 Dec 2015, 06:46

                @yage how did you solve it?

                Y Offline
                Y Offline
                yage
                wrote on 16 Jan 2016, 07:07 last edited by yage
                #7

                js jquery example:
                $("iframe").contents().find("...")

                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