Op 26-1-2013 0:51, M. Bashir Al-Noimi schreef:
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.
As long as you use the binding feature of QSqlQuery to put your HTML in your query, as opposed to trying to build the sting manually, you should be fine.

André


_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to