Hi all,

I just set up PySide2 on my laptop but when I run a simple test like the
below all I get is an empty window which freezes/beachballs straight away.
No messages in the Console app or my python interpreter so I have no idea
what is going on.

I installed pyside2 into a virtual env as usual:

   python3.7 -m venv venv_pyside2

followed by:

   source venv_pyside2/bin/activate


Then ran this test code:


from PySide2 import QtWidgets

import sys
args = sys.argv
app = QtWidgets.QApplication(args)
w = QtWidgets.QMessageBox()
w.setText("Test")
w.show()
sys.exit(app.exec_())



Any ideas why PySide2 will just beachball? I used to do a lot of PySide on
my laptop but that was on older OSX versions, so I suspect some insanely
paranoid security settings in the latest version.


Cheers,

frank
_______________________________________________
PySide mailing list
PySide@qt-project.org
https://lists.qt-project.org/listinfo/pyside

Reply via email to