I am trying to call a Mysq 5 stored procedure from a Qt4 application.
I am doing something like the following:

QSqlQuery query2 = QSqlQuery();
bool queryStatus = query2.exec("CALL toto()");
int numRows = query2.size();

I get queryStatus set to true, but the number of rows is completly wrong (4294967295) and query2.isSelect() returns false.

Calling a simple request works perfectly.

I have spent several hours, any help is more than welcome.

Lynn