I have a weird bug in my project that uses PySide for its Qt GUI, and in response I\'m trying to test with simpler code that sets up the environment.
Here is the cod
I have the same problem, and somewhere on stackoverflow was a solution.
Instead of
qApp = QtGui.QApplication(sys.argv)
Use
qApp = QtGui.QApplication.instance() if qApp is None: qApp = QtGui.QApplication(sys.argv)