why do you convert your result to an byte array? there you skip the informations. Just do
Qt Code:
  1. bool ret = query.exec("select name_searchword from searchword where id_company = 1125");
  2. while(query.next())
  3. {
  4. QString st = query.value(0).toString();
  5. qDebug() << "Str is :" << st;
  6. }
To copy to clipboard, switch view to plain text mode 
and all should work fine.