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. HTML parsing in Qt
Forum Updated to NodeBB v4.3 + New Features

HTML parsing in Qt

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 887 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.
  • Y Offline
    Y Offline
    yugosonegi
    wrote on 26 Dec 2017, 15:33 last edited by
    #1

    I was wondering, what is the best way to parse HTML on Qt? Is there a built-in way or a good 3rd party library for that?

    I tried to find a few but they are kinda complicated to understand (most of them with no good documentation) or really old.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 26 Dec 2017, 15:37 last edited by mrjj
      #2

      hi
      what do you need to do with the HTML ?
      this is pretty new
      https://github.com/lexborisov/myhtml
      but for HTML 5 also so might be overkill.

      https://forum.qt.io/topic/74485/is-there-a-clear-way-to-parse-html-in-qt-5-7

      Y 1 Reply Last reply 26 Dec 2017, 15:59
      2
      • M mrjj
        26 Dec 2017, 15:37

        hi
        what do you need to do with the HTML ?
        this is pretty new
        https://github.com/lexborisov/myhtml
        but for HTML 5 also so might be overkill.

        https://forum.qt.io/topic/74485/is-there-a-clear-way-to-parse-html-in-qt-5-7

        Y Offline
        Y Offline
        yugosonegi
        wrote on 26 Dec 2017, 15:59 last edited by
        #3

        @mrjj This one seems to be really good, I supports cmake so I can compile using MSVC and then link to Qt (unless there's a better way of doing that and I don't know).

        1 Reply Last reply
        0
        • Y Offline
          Y Offline
          yugosonegi
          wrote on 26 Dec 2017, 16:54 last edited by
          #4

          myhtml worked like a charm, thank you.

          1 Reply Last reply
          2

          1/4

          26 Dec 2017, 15:33

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved