I am trying to use QProcess to call a perl script. Here is my code:

Window.h

Qt Code:
  1. private slots:
  2. void processIT();
  3. void output(const QString &text);
  4. private:
  5. QProcess process;
To copy to clipboard, switch view to plain text mode 

Window.cpp

Qt Code:
  1. void Window::processIT()
  2. {
  3. connect(process,SIGNAL(readyReadStandardOutput()),
  4. this,SLOT(output(const QString &)));
  5. connect(process,SIGNAL(readyReadStandardError(const QString &)),
  6. this,SLOT(output()));
  7. QString path(dirEdit->text());
  8. QString program("perl /home/jim/perlQt/moalq.pl ");
  9. program += path;
  10. process.start(program);
  11. }
  12.  
  13. //....
  14.  
  15. void Window::output(const QString &text)
  16. {
  17. out->append(text);
  18.  
  19. }
To copy to clipboard, switch view to plain text mode 


my app compiles but I get the following at runtime:
[HTML]Object::connect: No such slot Window:rocess()[/HTML]


Any ideas?