Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If you confront to error that "QPainter::begin: Paint device returned engine == 0, type: 2"? #16

Open
Dongbox opened this issue Jun 7, 2022 · 0 comments

Comments

@Dongbox
Copy link

Dongbox commented Jun 7, 2022

Hi, guys, if you install PySide6 directly nowadays, maybe you can't appear the normal icon and it will throw errors like the below:

QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted

Just switch the PySide6 version to 6.1.1, then it works in my environment.

pip install PySide6==6.1.1
@Dongbox Dongbox changed the title If you face errors with "QPainter::begin: Paint device returned engine == 0, type: 2"? If you confront to error that "QPainter::begin: Paint device returned engine == 0, type: 2"? Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant