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("<[^>]*>"));

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top