Hmm yes i missed that...i m actual not really understand your problem but i think you need something like that
Qt Code:
  1. QString str = "Columname = \"fieldvalue\"";
  2. setFilter(str.data());
To copy to clipboard, switch view to plain text mode