can I use the QTextDocument class to simplify building a web browser
Unsolved
General and Desktop
-
The reason I asked is that I need a web browser as an image. I know that the QTextDocument class can convert html to an image. Could it be possible that I could build the routines necessary to handle events. Of course I myself would have to define these myself.
-
@AI_Messiah QTextDocument can process simple HTML4 and CSS 2.1. However, it cannot process modern HTML5 and CSS3 features, and it cannot process JavaScript.
See here for what's supported: https://doc.qt.io/qt-5/richtext-html-subset.html
-
@AI_Messiah
QTextDocument
is going to be a fair way from processing a real web page. Can you not useQWebEnginePage
if you want a web browser?