Hello!
How do I print error, that is returned by lastError method, with qFatal?
Hello!
How do I print error, that is returned by lastError method, with qFatal?
Qt 5.3 Opensource & Creator 3.1.2
Hi
Are we talking about QSqlError? You could use for example qPrintable():
Qt Code:
qFatal(qPrintable(something.lastError.text()));To copy to clipboard, switch view to plain text mode
J-P Nurmi
MarkoSan (17th March 2007)
Bookmarks