Pregunta

I have QString with html tags. Why can i get plain text from this string?

¿Fue útil?

Solución

You need to strip off the HTML tags from the string. See this post for instance.

Otros consejos

str.remove(QRegExp("<[^>]*>"));

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top