Hello,
I have a problem with the following lines.
Qt Code:
query.prepare("INSERT INTO demo1 (id) VALUES (?)"); query.bindValue(0, uuid.toString());To copy to clipboard, switch view to plain text mode
I receive the error
error: no matching function for call to ‘QSqlQuery::bindValue(int, QString)
But I don't know why. Can anyone help me ?
Regards,
Luc




Reply With Quote
Bookmarks