[Interest] Qt web browser development

Alexander Carôt alexander_carot at gmx.net
Wed Dec 28 00:39:06 CET 2022


Hej Konrad,

thanks for new insights !

>>0.) QTextBrowser is an actual light-weight browser with limited HTML
>>support 

Was not aware of it. With "light-weight" I also thought of basic JavaScript support etc. – so this is probably "too light" for me.

>>4.) See above. And you can always call QDesktopServices::openUrl to open
>>the system browser.

That's actually a great option I was not aware of either ! 

Best

Alex

--
http://www.carot.de
Email : Alexander at Carot.de
Tel.: +49 (0)177 5719797


> Gesendet: Dienstag, 27. Dezember 2022 um 21:28 Uhr
> Von: "Konrad Rosenbaum" <konrad at silmor.de>
> An: interest at qt-project.org
> Betreff: Re: [Interest] Qt web browser development
>
> Hi,
> 
> 0.) QTextBrowser is an actual light-weight browser with limited HTML 
> support of a sub-set of HTML 4, but it is good enough for many tasks - 
> especially when the HTML is generated inside the program itself and 
> displays only relatively simple content. It can be used for 
> documentation, if you can live without complex CSS. It is not good 
> enough to display external web pages.
> 
> 
> On 27/12/2022 15:49, Alexander Carôt wrote:
> > I need to define roadmap for future development and with regard to web browser-integrated Qt solutions am I correct that:
> >
> > 1.) QtWebView works on any platform as a “light-weight” solution and especially on iOS and Android there currently is no other choice ?
> 
> 1.) QtWebView is not exactly light-weight. For Windows and Linux it uses 
> QtWebEngine for rendering, on Apple OSes it uses the system browser 
> engine (derived from the same code base as WebEngine).
> 
> Use this if you want to be compatible with all platforms, since e.g. the 
> iOS app store forbids you to use your own browser component and forces 
> the use of the system component.
> 
> 
> > 2.) QtWebEngine representes the full-browser stack but it only works on macOS, Linux and Windows ?
> 
> 2.) No idea, never used it. Hopefully someone else will answer that.
> 
> 
> > 3.) QtWebKit is outdated and not available in Qt6 anymore ?
> 
> 3.) Correct.
> 
> 
> > 4.) No other Qt-related classes besides 1.) and 2.) exist for this purpose ?
> 4.) See above. And you can always call QDesktopServices::openUrl to open 
> the system browser.
> 
> 
> 
>      Konrad
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>


More information about the Interest mailing list