title: How to capture PrintScreen key in qt?
body: <p>The below code doesn't detect print_screen key for me.</p>
  
  <pre><code>void MainWindow::keyPressEvent(QKeyEvent *event)
  {
      if (Qt::Key_Print == event-&gt;key())
          qDebug() &lt;&lt; "Print Screen pressed";
  </code></pre>