Hi,
In QIde I use ctags to populate a combo with methods of a file. I use an option of ctags "-f-" who write the result of the parsing to stdout. Then I read stdout to parse the result. The code work fine under Linux. Under Windows nothing is read and lu.isEmpty() return true. ctags is a solid tool and I requests what does not work under Windows.
Qt Code:
  1. QProcess *testCtags = new QProcess();
  2. testCtags->start("ctags", QStringList()<<"-f-" << "--fields=+S+K+n" << filename());
  3. testCtags->waitForFinished(5000);
  4. QString lu = testCtags->readAll();
  5. if( !lu.isEmpty() )
  6. {
  7. foreach(QString s, lu.split("\n") )
  8. {
  9. ...
  10. }
  11. }
To copy to clipboard, switch view to plain text mode 
Note : If I use connect for readyReadStandardError or readyReadStandardOutput signals the slot is never called.
Thanks