Hi,
try textEdit->toPlainText();
On Jan 25, 2013 8:51 PM, "M. Bashir Al-Noimi" <[email protected]> wrote:

>  Hi guys,
>
> I want to save the content of QTextEdit to the database through
> QSqlQuery... how can I do that?
>
> Running textEdit->toHtml() won't work because the returned string has many
> illegal characters to execute into sql.
>
> --
> Best Regards
> Muhammad Bashir Al-Noimi
>
>
> _______________________________________________
> Interest mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to