How can I get this working:

Qt Code:
  1. QString str = "mysql -uUser -pPassword -h172.16.1.110 < backup.sql";
  2. myProcess->start( str );
To copy to clipboard, switch view to plain text mode 

I've tried it with a string and with a list, but it's both not working. I guess, my problem is the " < " as a part of my string. If the "<" is included, then mysql shows me the same like with "mysql --help", but no error message or something usefull else.

The same string at the commandline works well.

I'm using Qt 4.5.2 under Fedora 9.

Thanks in advance.