title: How to programmatically click a QPushButton
body: <p>I am using Qt. I have a button in the page added via the Qt Creator. It is connected to the method <code>void MyPage::on_startButton_clicked()</code>.</p>
  
  <p>I want to programmatically click this button. I tried <code>ui-&gt;startButton-&gt;clicked()</code>,  it gives,</p>
  
  <blockquote>
    <p>error C2248: 'QAbstractButton::clicked' : cannot access protected member declared in class 'QAbstractButton'</p>
  </blockquote>
  
  <p>Please help. Thanks!</p>