qprocess wildcard

http://developer.qt.nokia.com/forums/viewthread/9042

 

QProcess is the right class :) you just need to invoke a shell to perform that wildcard expansion.
Something like

 

QStringList options;

options << "-c" << "grep -rn hello /tmp/*";

QProcess process;

process.start("/bin/sh", options);

你可能感兴趣的:(process)