Display HTML Table: With colours borders
-
wrote on 26 May 2022, 20:24 last edited by
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?
-
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?
wrote on 27 May 2022, 14:29 last edited by@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)
-
wrote on 28 May 2022, 17:37 last edited by
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.
-
wrote on 29 May 2022, 18:56 last edited by
@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)
1/4