How to change style in PyQt5
<p>I am writing a Qt5 application by using PyQt.
I would like to understand how to change the style of the entire application.</p>
<p>The old Qt4 calls like:</p>
<pre><code>app = QApplication(sys.argv)
app.setStyle(QStyleFactory.create('Cleanlooks'))
</code></pre>
<p>and the suggested method <a href="https://stackoverflow.com/questions/14200167/how-to-choose-the-graphic-toolkit-for-pyqt">here</a> does nothing.</p>
<p>Are they deprecated?
<a href="https://blog.qt.io/blog/2012/10/30/cleaning-up-styles-in-qt5-and-adding-fusion/" rel="nofollow noreferrer">https://blog.qt.io/blog/2012/10/30/cleaning-up-styles-in-qt5-and-adding-fusion/</a></p>
<p>Thank you!</p>