Important: Please read the Qt Code of Conduct -

Webpage rendered source accessible via qt console application

  • I need to do something like this: www(url) --> [ qtweb ] --> rendered source --> Perl/C++ processing

    I was advised to do something like this:
    QWebElement tmp = ui->browser->page()->mainFrame()->findFirstElement("span#somehting");
    qDebug() << tmp.toPlainText();

    Problem is that I never need to see the rendered webpage. A console app would be best. I only need to have access to the rendered webpage source to extract the information I need.

    When I expanded the DOM Traversal Example to examine the rendered source the process ran at a snails pace.

Log in to reply