Get plain text from QString with HTML tags
题
I have QString with html tags. Why can i get plain text from this string?
解决方案
You need to strip off the HTML tags from the string. See this post for instance.
其他提示
str.remove(QRegExp("<[^>]*>"));
不隶属于 StackOverflow