[PyQt] QQuickStyle is missing

Phil Thompson phil at riverbankcomputing.com
Thu Mar 29 17:16:21 BST 2018


On 24 Mar 2018, at 12:29 am, lamefunx0r . <lamefun.x0r at gmail.com> wrote:
> 
> The only solution seems to be a workaround:
> https://stackoverflow.com/questions/43093797/pyqt5-quickcontrols-material-style/43533434
> 
> QML is not very usable without this class...

It depends on what you want to do. The other workaround (untested) should be...

os.environ['QT_QUICK_CONTROLS_STYLE'] = 'Material'

I don't really want to add QQuickStyle if I can avoid it as it would mean adding another Python module (because it is implemented in its own library) for very little benefit.

Phil



More information about the PyQt mailing list