I have a similar problem described here after updating python, pyistaller, pyqt5, pyqt5-tools. Before I get the desired “Windows Vista style” without app.setStyle('windowsvista') when I run the compiled stand-alone executable.
Now I got Windows Classic Style . If I run the application in PyCharm, it will use the desired “Windows Vista style” .
Currently installed on Win7 64bit:
Python: 3.6.4
PyInstaller: 3.3.1
PyQt5: 5.10
pyqt5-tools: 5.9.0.1.2 (updating to 5.9.1.1 does not work)
Does anyone know why PyInstaller ignored the style?
source share