You pass std::string to QSqlQuery::exec(), but it expects a QString.
P.S. Don't construct your queries like that, use QSqlQuery::bindValue().
You pass std::string to QSqlQuery::exec(), but it expects a QString.
P.S. Don't construct your queries like that, use QSqlQuery::bindValue().
timmyg (20th March 2008)
Bookmarks