You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/joseph/prog/spyder.git/spyderlib/widgets/externalshell/inputhooks.py", line 107, in qt4
app = QtCore.QCoreApplication.instance()
NameError: name 'QtCore' is not defined
Got exception from inputhook, unregistering.
I guess that the problem is at the top of the file:
if os.environ["QT_API"] == 'pyqt':
from PyQt4 import QtCore, QtGui
elif os.environ["QT_API"] == 'pyside':
from PySide import QtCore, QtGui # analysis:ignore
If QT_API is not defined or not these values, it doesn't load Qt. I'm using Qt5 so it's not supported.
The text was updated successfully, but these errors were encountered:
On startup in the default python console I see:
I guess that the problem is at the top of the file:
If
QT_API
is not defined or not these values, it doesn't load Qt. I'm using Qt5 so it's not supported.The text was updated successfully, but these errors were encountered: