title: How to connect a slot to signal QProcess::started() in Qt?
body: <p>Edit: Solved.</p>
  
  <p>Hi, I'm starting with Qt, I try to connect a slot to signal <code>QProcess::started()</code> but can't. <code>QObject::connect()</code> returns <code>false</code>.</p>
  
  <p>Any idea what am I doing wrong?</p>
  
  <p>Here's part of the code:</p>
  
  <pre><code>
  class foo : public QObject
  {   
   public:
    QProcess *process;
  
   public slots:
    void process_started();
  }
  
  foo::foo()
  {
   process = new QProcess();
   bool status = QObject::connect( process, SIGNAL( started() ), this, SLOT( process_started() ) );
   // status is false, meaning the slot and signal couldn't be connected
  }
  </code></pre>
  
  <p>I know the process starts successfully because I tried <code>process-&gt;WaitForStarted()</code> and it returns <code>true</code>.
  But I put a breakpoint at the slot <code>foo::process_started()</code> and it never gets hit.
  What's the problem here?
  Thanks!</p>