[Interest] How to save QTextEdit content by QSqlQuery

Luis Valdés luisvaldes88 at gmail.com
Sat Jan 26 01:27:26 CET 2013


Hi,
try textEdit->toPlainText();
On Jan 25, 2013 8:51 PM, "M. Bashir Al-Noimi" <mbnoimi at gmail.com> 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
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130125/3b3301e2/attachment.html>


More information about the Interest mailing list