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

vendor Qt is outdated and doesnt work with PySide6 #133

Open
hannesdelbeke opened this issue May 29, 2024 · 4 comments
Open

vendor Qt is outdated and doesnt work with PySide6 #133

hannesdelbeke opened this issue May 29, 2024 · 4 comments

Comments

@hannesdelbeke
Copy link
Contributor

File "...\site-packages\pyblish_lite\vendor\Qt.py", line 1676, in _install
LogPython: Error:     raise ImportError("No Qt binding were found.")
LogPython: Error: ImportError: No Qt binding were found.
@mottosso
Copy link
Member

Indeed, it'll need to pop in the new Qt.py and make a few tweaks to make it work. A PR would be lovely!

@aharjunmaa
Copy link
Contributor

I was able to circumvent this error by simply copying the newest Qt.py module (v1.4.1) into the "vendor" directory to overwrite the old one. @mottosso, is this a sufficient solution?

@mottosso
Copy link
Member

Yep, that's it!

@aharjunmaa
Copy link
Contributor

Here's the PR:

#134

I'm not sure exactly what "few tweaks" are necessary; I did find one PySide6 bug that I fixed as well, and after that, our custom UI that is based on Pyblish Lite works as before the PySide6 update. More extensive testing may be necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants