title: How to synthesize key press events?
body: <p>I am able to get key value's from HAL through a call back function in Qt. Created event for that key by  </p>
  
  <pre><code>QKeyEvent *event = new QKeyEvent (QEvent::KeyPress, 
                                    inputKey.keyValue, 
                                    Qt::NoModifier);
  </code></pre>
  
  <p>Note: <code>inputKey.keyValue</code> Key value received from HAL Layer. </p>
  
  <p>Now I need to Register This key event in Qt, So that if any key press happened in IR Remote then in respective form, <code>keyPressEvent(e)</code> or <code>event(e)</code> will get invoke. and based on the key press, specific action will get execute.</p>
  
  <p>Note: More than one form is there, where key press event will trigger And more than one keys are there "Page_Up, Page_Down, Ok Key etc....."</p>
  
  <p>tried to invoke Postevent() and connect(.......) but nothing helped me. KeyPressEvent() is not getting executed. </p>