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

qta-browser not starting with PyQt6==6.7.0 backend #261

Open
o-murphy opened this issue Apr 28, 2024 · 2 comments
Open

qta-browser not starting with PyQt6==6.7.0 backend #261

o-murphy opened this issue Apr 28, 2024 · 2 comments

Comments

@o-murphy
Copy link

PySide6==6.7.0 still works

I think it's probleb with qtpy library, but can you check?

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "venv\Scripts\qta-browser.exe\__main__.py", line 7, in <module>
  File "venv\Lib\site-packages\qtawesome\icon_browser.py", line 334, in run
    browser = IconBrowser()
              ^^^^^^^^^^^^^
  File "venv\Lib\site-packages\qtawesome\icon_browser.py", line 108, in __init__
    toolbar.addWidget(self._copyButton)
TypeError: 'PySide6.QtWidgets.QBoxLayout.addWidget' called with wrong argument types:
  PySide6.QtWidgets.QBoxLayout.addWidget(QPushButton)
Supported signatures:
  PySide6.QtWidgets.QBoxLayout.addWidget(PySide6.QtWidgets.QWidget, int = 0, PySide6.QtCore.Qt.AlignmentFlag = Default(Qt.Alignment))
@ccordoba12
Copy link
Member

Hey @o-murphy, thanks for reporting. This is a duplicate of issue spyder-ide/qtpy#480.

The problem is with PySide 6.7 because it broke star imports, which are used by Qtpy (as described on that issue).

@maflAT
Copy link

maflAT commented May 29, 2024

This issue seems to be fixed with PySide 6.7.1

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

3 participants