Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Looking for advice on web related project.
Qt 6.12 LTS is out! See what's new in the release blog

Looking for advice on web related project.

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 1.3k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    Hi, i am new to Qt WebView and web browser development.

    Considering working on a webcrawler type project that gathers news.

    What is best/easy solution to look at to get websites visually displayed in qt and be able to connect visuals to html code and also copy the text?

    For example select bunch of text and grab same position in html text in qt powered application, and auto copy other news articles by autofinding article beginning in same site if news releases.

    Also do same in background without powering the visual aspect.

    Is it possible to save full web page to hard disk and reload it exactly same way?

    Sorry about my english , let me know if something is unclear..

    ? 1 Reply Last reply
    0
    • ? A Former User

      Hi, i am new to Qt WebView and web browser development.

      Considering working on a webcrawler type project that gathers news.

      What is best/easy solution to look at to get websites visually displayed in qt and be able to connect visuals to html code and also copy the text?

      For example select bunch of text and grab same position in html text in qt powered application, and auto copy other news articles by autofinding article beginning in same site if news releases.

      Also do same in background without powering the visual aspect.

      Is it possible to save full web page to hard disk and reload it exactly same way?

      Sorry about my english , let me know if something is unclear..

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by A Former User
      #2

      @Q139 up

      ? 1 Reply Last reply
      0
      • ? A Former User

        @Q139 up

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @Q139 up

        1 Reply Last reply
        0
        • JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          This is not an answer to each of your questions, but while you await that here are the things you should look at in the Qt docs:

          • QtWebEngine, not QWebView, which is deprecated/no longer supported in the Qt releases. Unless you meant Qt WebView which is a QML thing, and uses Qt WebEngine anyway.
          • QWebChannel. Perhaps have a read of https://stackoverflow.com/questions/28565254/how-to-use-qt-webengine-and-qwebchannel.
          • QNetworkAccessManager.
          • A totally different approach would involve going down the new Qt for Web Assembly route.
          1 Reply Last reply
          1
          • VRoninV Offline
            VRoninV Offline
            VRonin
            wrote on last edited by
            #5

            You can do all the above. Qt WebEngine is nothing but a wrapper of the engine powering Google Chrome web browser so if the browser can do it, Qt WebEngine can. If you want to access APIs then QNetworkAccessManager is the way to do it, QWebChannel and the webasembly platform plugin are unrelated to your problem

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            JonBJ 1 Reply Last reply
            1
            • VRoninV VRonin

              You can do all the above. Qt WebEngine is nothing but a wrapper of the engine powering Google Chrome web browser so if the browser can do it, Qt WebEngine can. If you want to access APIs then QNetworkAccessManager is the way to do it, QWebChannel and the webasembly platform plugin are unrelated to your problem

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #6

              @VRonin
              I totally admit this is not my area, but I thought for the OP's e.g.

              and auto copy other news articles by autofinding article beginning in same site if news releases.

              he might need some QWebChannel to be able to play with what might be going on in JavaScript, or interact with JS himself, no (I have never used it)?

              I see that webassembly should indeed not be relevant.

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by A Former User
                #7
                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
                • Unsolved