开发者

Use QtWebKit only for parsing HTML?

开发者 https://www.devze.com 2023-03-25 00:22 出处:网络
Is it possible to use QtWebKit\'s HTML traversing functions only? I mean, without using any widgets it provides (like QWebView or QWebPage) ... say you got an HTML page in a QString and wish to parse

Is it possible to use QtWebKit's HTML traversing functions only? I mean, without using any widgets it provides (like QWebView or QWebPage) ... say you got an HTML page in a QString and wish to parse it like you would with QWebElement.

This would be rather useful if you have to parse HTML in threads, where you开发者_运维问答 can't create widgets and using signals and slots would excessively complicate the code.

0

精彩评论

暂无评论...
验证码 换一张
取 消