So in addition I do some tests.:

Qt Code:
  1. db = QSqlDatabase::database("LocalDB");
  2. qDebug() << "LocalDB is Valid?:"<< db.isValid();
  3. QSqlQuery mytest("select * from localDBtable",db);
  4.  
  5. while(mytest.next())
  6. {
  7. qDebug() << mytest.value(2).toString() << endl;
  8. }
  9.  
  10. QSqlTableModel mymodel;
  11. mymodel.setTable("localDBtable");
  12. bool loctest = mymodel.select();
To copy to clipboard, switch view to plain text mode 
So first of all I test the db validation here I get a <true> value
The second I test, if I could trace over a select statement from the table. An I get the value in the while loop. So everything seems ok.
Last I take a QSqlTableModel and try to select() the table, but I get an <false> value.

So I am at the end of my knowledge?
Could anybody image what wrong here???