Results 1 to 4 of 4

Thread: How to access DOM of a web page in QtWebKit?

  1. #1
    Join Date
    May 2009
    Posts
    133
    Thanks
    10
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default How to access DOM of a web page in QtWebKit?

    How to access DOM of a web page in QtWebKit?
    I don't see any methods exposing DOM in QtWebKit...

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to access DOM of a web page in QtWebKit?

    Until 4.6 (probably) you can only access DOM of the page through javascript.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    piotr.dobrogost (23rd July 2009)

  4. #3
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: How to access DOM of a web page in QtWebKit?

    So how about the current 4.7.2 version of Qt? Can QtWebKit access to DOM now? Where is the corresponding API in WebKit for accessing DOM. I think this function should be provided originally from WebKit, and then porting to QtWebKit.

    Thanks for any help!!

    yanke

  5. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to access DOM of a web page in QtWebKit?

    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Cookie problem with QtWebkit
    By vides2012 in forum Qt Programming
    Replies: 3
    Last Post: 8th April 2010, 13:42
  2. Best way to open a Qt window from web page?
    By montylee in forum Qt Programming
    Replies: 9
    Last Post: 19th January 2009, 08:04
  3. Replies: 3
    Last Post: 13th September 2008, 15:12
  4. page faults
    By moowy in forum General Programming
    Replies: 2
    Last Post: 20th January 2007, 14:13
  5. QWidget display on 2 stack widget page
    By spawnwj in forum Qt Programming
    Replies: 3
    Last Post: 4th September 2006, 12:07

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.