I've done some project using PyQt library for my class assignmnet. And I need to check my application working before I submit it.
Today, 3 hours ago I updated my Mac book OS to Big Sur. And I found out that PyQt library doesn't work. It doesn't show any GUI.
Are there someone know how to fix it?
Desktop applications made with PyQt are cross platform, they will work on Microsoft Windows, Apple Mac OS X and Linux computers (including Raspberry Pi).
Features limited to M1 Macs (Bad for Intel and Older devices) Compatibility issues with older 2013 Macbooks (Big Sur supports them all) Stability and bugs with devices (The current Big Sur version 11.4 is very stable)
Adding os.environ['QT_MAC_WANTS_LAYER'] = '1'
fixes the issue on PyQT 5.15.1 (credits)
Rolling back to PyQt5==5.13.0 fixed the issue for me! you should uninstall PyQt5 and then install it using pip install PyQt5==5.13.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With