Any alternative to QtWebEngine for MinGW?
-
I need to make something like a "manual" for my program, so i need to show images and text in an ordered and pretty form, just like a html content.
I know that i can show web pages using QtWebEngine but i can't use it since it doesn't support the MinGW version of Qt, so i need an alternative. I alredy tryed using QMessageBox and QTextBrowser but it doesn't work perfectly with the CSS code (with the images specifically).
Is there another tool or widget to acomply this?
P.D: I really don't want to use the MSVC version.
-
Hi
Maybe you can use webkit ?
https://forum.qt.io/topic/76739/webkit-status-2017
as far as i know there is a mingw version.However, since Qt can use QTextBrowser for its documentation,. i wonder
if reducing the use of CSS code would not be less of a hassle as to have
your own browser just for a manual.
Also to make it more future proof. -
@JScars
So even using something like
https://github.com/annulen/webkit/releases/download/qtwebkit-5.212.0-alpha2/qtwebkit-5.212.0_alpha2-qt59-mingw530-x86.zipYou still need visual studio ??
-
If you must only play html javascript & css as manual..
you can create a epub file... link href enable...
from rtf html + css or pdf after convert online
https://ebook.online-convert.com/convert-to-epub
on this way you can use epub lib from calligra or okular or FBReader e-book e encapsulate on a widged abstract or a qml ... not need web tool (external link go direct to browser) quick2 scrollarea... as vector draw & you not need browser...
but i suppose that is possibel to build a static lib in Cygwin as QtWebEngine && qml QtWebView 1.1 tool cmake can buil many lib... -
@Konstantin-Tokarev ping, can you confirm the compilers available for the QtWebKit reboot ?
-
MinGW is supported, there are prebuilt binaries
-
@Konstantin-Tokarev Thanks !