質問

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