Skip to content

show QWidgets without freezing Blender

hannesdelbeke edited this page Aug 16, 2023 · 2 revisions

bqt creates a QApplication for you. so no need to app._exec() to show your widgets. (this freezes Blender)

to access the QApplication you can use

from PySide2 import QtWidgets

QtWidgets.QApplication.instance()