Retrieving row count from QSqlQuery, but got -1 Retrieving row count from QSqlQuery, but got -1 sqlite sqlite