Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Pyside2 Widgets: known issues and workarounds

Jack Harper edited this page May 31, 2019 · 1 revision

Pyside2 widgets known issues and workarounds

QWebView and QQuickWidget

QWebViews and QQuickWidgets do not work correctly with the code generated from pyside2-uic and put import statements such as this at the bottom of the file:

from PySide2 import QtWebKit

To work around this, remove the import and replace with its proper statement such as from PySide2.QtWebEngineWidgets import QWebEngineView and use this instead.

I have created a ticket for these two widget types here