I'm working with M1 Mac -- Monterey 12.4 with PyQt5.15 and when running python3 app.py the window freezes indefinitely. Upon searching, the only solution that worked for me is setting environment variable export QT_MAC_WANTS_LAYER=1.
Is there a better way to fix this?
I'm working with M1 Mac -- Monterey 12.4 with PyQt5.15 and when running
python3 app.pythe window freezes indefinitely. Upon searching, the only solution that worked for me is setting environment variableexport QT_MAC_WANTS_LAYER=1.Is there a better way to fix this?