title: Setting the Windows taskbar icon in PyQt
body: <p>I'm working on an applcation in Python's PyQt4 and cannot find how to change the taskbar icon. I made my .ui files in Qt's Designer, where I can change the <code>windowIcon</code> properties. But that is not what I am looking for. I want to change the look of the application's icon in windows taskbar. For now it is Python logo in a window icon.</p>
  
  <p>I found some information on SO: <a href="https://stackoverflow.com/questions/1551605/how-to-set-applications-taskbar-icon">link</a> but it's not helping me much.</p>
  
  <p>I tried:</p>
  
  <pre><code>app = QtGui.QApplication([])
  app.setWindowIcon(QtGui.QIcon('chip_icon_normal.png'))
  app.exec_()
  </code></pre>
  
  <p>But the icon remains unchanged.</p>
  
  <p>What i want to change, showing the picture:
  (This is done calling the setWindowIcon on main window/ dialog, or the application, as shown above.)</p>
  
  <p><img src="https://i.stack.imgur.com/GFy94.png" alt="Taskbar icon change"></p>