PySide6 support
See original GitHub issueTrying to use this fails with:
Traceback (most recent call last):
File "/home/hugo/.cache/pypoetry/virtualenvs/screenman-YK8rCbov-py3.9/lib/python3.9/site-packages/qtpy/__init__.py", line 204, in <module>
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
File "/home/hugo/.cache/pypoetry/virtualenvs/screenman-YK8rCbov-py3.9/lib/python3.9/site-packages/shiboken6/files.dir/shibokensupport/__feature__.py", line 140, in _import
return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/hugo/workspace/Hugo/screenman/test.py", line 130, in <module>
widget = MainWindow()
File "/home/hugo/workspace/Hugo/screenman/test.py", line 80, in __init__
name = "/home/hugo/screenshots/2020-12-12T00:28:26,928755128+01:00.png"
File "/home/hugo/workspace/Hugo/screenman/test.py", line 58, in __init__
self.addAction(SaveAction(self))
File "/home/hugo/workspace/Hugo/screenman/test.py", line 31, in __init__
import qtawesome as qta
File "/home/hugo/.cache/pypoetry/virtualenvs/screenman-YK8rCbov-py3.9/lib/python3.9/site-packages/shiboken6/files.dir/shibokensupport/__feature__.py", line 140, in _import
return original_import(name, *args, **kwargs)
File "/home/hugo/.cache/pypoetry/virtualenvs/screenman-YK8rCbov-py3.9/lib/python3.9/site-packages/qtawesome/__init__.py", line 20, in <module>
from qtpy import QtCore, QtWidgets, QtGui
File "/home/hugo/.cache/pypoetry/virtualenvs/screenman-YK8rCbov-py3.9/lib/python3.9/site-packages/shiboken6/files.dir/shibokensupport/__feature__.py", line 140, in _import
return original_import(name, *args, **kwargs)
File "/home/hugo/.cache/pypoetry/virtualenvs/screenman-YK8rCbov-py3.9/lib/python3.9/site-packages/qtpy/__init__.py", line 210, in <module>
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found
The latest release of PySide is packaged as PySide6
, so this fails. Any change of adding support for it?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
PySide6 - PyPI
PySide6. Introduction. Important: for Qt5 compatibility, check PySide2. PySide6 is the official Python module from the Qt for Python project, which provides ...
Read more >PySide6.QtPrintSupport - Qt for Python
The Qt Print Support module provides extensive cross-platform support for printing. Using the printing systems on each platform, Qt applications can print ...
Read more >PySide6 Tutorial 2022, Create Python GUIs with Qt
Both versions are almost completely compatible aside from imports, and lack of support for some advanced modules in Qt6. PyQt6 also makes some ......
Read more >Visual Studio Code Extension Qt for Python - GitHub
A Visual Studio Code extension for PySide6, PySide2, PyQt6 and PyQt5. Highlight Features. All features support multi-root workspace project. QML. Syntax ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing in favour of https://github.com/spyder-ide/qtpy/pull/225/.
@stonebig
Pyzo
seems to be something entirely different toqtawesome
.@ccordoba12 Interesting! I wasn’t aware that
qtpy
was also a spyder project! You guys are doing lots of great stuff!I’ll follow that PR to keep in the loop, thanks!