-
Notifications
You must be signed in to change notification settings - Fork 21
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
Error when modifying the example to use pyqt6 instead of pyqt5 #239
Comments
@mkondratyev85 I would recommend a couple quick checks to get you started fixing the issue:
|
@mkondratyev85 Also, if you can, would you please provide us with some system information so we can help you debug the issue further? e.g. If you run: import pyvista as pv
pv.Report() in a terminal and copy and paste the output here, that will help us. Update: I see you wrote that in your original post after reading further; my mistake. Thank you for taking the time to report an issue! |
@adam-grant-hendry thank you for helping me. System informations after pv.Report():
My version of drivers are updated. And it looks like I'm using the latest versions of pyvista and pyvistaqt. |
@adam-grant-hendry Can you confirm the issue? Does this example work on your side when you switch to PyQt6? |
Finally I've figured out what was the source of the problem! I was using the Wayland display server on my Ubuntu 22.04. After switching from the Wayland to X the code works without a problem now! I'll keep this issue open as I'm not sure if this an intended behavior or not. |
I'm trying to use pyvistaqt with pyqt6 but I'm having some problems.
For example, if I take a script from https://qtdocs.pyvista.org/usage.html from the section "Example PyQt5 PyVista QtInteractor"
and change 4th line of the script from
to
I get the following error:
Nothing changes if I directly import pyqt6 by commenting out the usage of qtpy:
My version of pyvista is 0.9.0
The text was updated successfully, but these errors were encountered: