Take a rest and I look at the "What's New in Qt 4.6"in"Qt Reference Documentation"
and find a new class QWebElement.I feel html view can use a another way to generate the tag node.
Four months age, I make it with QtNetwork and html parser (with QtNetwork to Get page source and Html parser to parse It),I need to code a Html parser because of no Qwebelement that Time.In this way,Although fast, Coding a html parser is not easy.
And Now, Using QWebElement in Webkit, It's very convenient, although Getting Page source with Qtwebkit will spend longer, it's easier.Just for fun.
the source of html view is Here.
By the way,QDou is on the way.
没有评论:
发表评论