hi everyone,
I want to load a table inside the constructor .But it is not working.The same thing when i do under a push Button clicked it is working.My code is :

Qt Code:
  1. abc->setQuery("select * form User10");
  2. ui->tableView_User10->setModel(abc);
To copy to clipboard, switch view to plain text mode 

plz give some soln.