Skip to content

App not opening in M1 Mac -- PyQt possible culprit #5

@anshu957

Description

@anshu957

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions