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. Display HTML Table: With colours borders
Forum Updated to NodeBB v4.3 + New Features

Display HTML Table: With colours borders

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 487 Views
  • 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.
  • R Offline
    R Offline
    RedDwarf
    wrote on 26 May 2022, 20:24 last edited by
    #1

    I render a report in Linux as a table with particular colour settings on various parts such that I need the webview widget, not the text browser widget to display - works great. This doesn't work when crossing over to Windows because I need Microsoft Visual C++ installed which I'm not able to install (policy, and licence review, cost, maintenance by the official technical support team, and yada yada yada).

    Is there any way (some Qt widget) of displaying an html table, with support for coloured text / borders, that renders like it does on any browser, using Qt - without installing Microsoft applications?

    V 1 Reply Last reply 27 May 2022, 14:29
    0
    • R RedDwarf
      26 May 2022, 20:24

      I render a report in Linux as a table with particular colour settings on various parts such that I need the webview widget, not the text browser widget to display - works great. This doesn't work when crossing over to Windows because I need Microsoft Visual C++ installed which I'm not able to install (policy, and licence review, cost, maintenance by the official technical support team, and yada yada yada).

      Is there any way (some Qt widget) of displaying an html table, with support for coloured text / borders, that renders like it does on any browser, using Qt - without installing Microsoft applications?

      V Offline
      V Offline
      VRonin
      wrote on 27 May 2022, 14:29 last edited by
      #2

      @RedDwarf said in Display HTML Table: With colours borders:

      Microsoft Visual C++ installed

      Seriously? of all the things that would be blocking I did not think vcredist would be one. It's the most straightforward thing ever on Windows.

      With MinGW you can use QtWebkit, see https://forum.qt.io/topic/76739/webkit-status-2017 (the last link, in particular)

      "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

      1 Reply Last reply
      1
      • R Offline
        R Offline
        RedDwarf
        wrote on 28 May 2022, 17:37 last edited by
        #3

        Yeah, for one it breaks our build system which is typically a Canadian Build (program on one system, build on a different, with a target of a third - 99% Linux) which may not be insurmountable. It also breaks open source, maybe - not sure on that, but it's nice to have because things can be vetted by scripts (necessary for any engineer where I live, like doctors and lawyers, client data is sacrosanct). What information goes to Microsoft and to whomever else, probably nothing, but I understand if you Wireshark'd Apple stuff, packets keep getting sent there (to Apple), for like - no reason.

        All of that could probably be worked through and/or verified as incorrect hearsay but the bottom line is if one person spends a couple of weeks investigating / checking it out and incorporating it into our build system and testing it then that costs about $5k, and all we'd like to do is display a little html 1.0 equivalent code with CSS slightly more complicated than what QTextBrowser can consistently manage, and it already works fine on Linux. It kind of looks like Microsoft is crushing cross compatible things like Qt, the same way they did with Java; by quote-unquote enhancing after partnering up, I hope not though, but it looks like it's already done.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          VRonin
          wrote on 29 May 2022, 18:56 last edited by
          #4

          @RedDwarf said in Display HTML Table: With colours borders:

          Yeah, for one it breaks our build system which is typically a Canadian Build (program on one system, build on a different, with a target of a third - 99% Linux) which may not be insurmountable. It also breaks open source, maybe - not sure on that, but it's nice to have because things can be vetted by scripts (necessary for any engineer where I live, like doctors and lawyers, client data is sacrosanct). What information goes to Microsoft and to whomever else, probably nothing, but I understand if you Wireshark'd Apple stuff, packets keep getting sent there (to Apple), for like - no reason.

          I can't stress enough how much vcredist is "standard" on windows, I'b be utterly shocked if CI systems and GDPR verifier can't cope with that. It's like for a mechanic not being able to fix a VW (or a Ford if you live in the west side of the pond)

          "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

          1 Reply Last reply
          0

          1/4

          26 May 2022, 20:24

          • 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