[Eric] Error log.
"ΑΝΤΩΝΗΣ ΜΠΟΥΝΤΟΥΒΑΣ"
aboudouvas at vodafone.net.gr
Thu Aug 23 11:51:55 BST 2007
Hi,
i have this code, (using Eric4, latest snapshot):
import sys
from PyQt4 import QtGui, QtCore
#app = QtGui.QApplication(sys.argv)
workspace = QtGui.QWorkspace()
workspace.setWindowTitle("example")
for i in range(5):
textEdit = QtGui.QTextEdit()
textEdit.setPlainText("PyQt4 " * 100)
textEdit.setWindowTitle("Document %i" % i)
workspace.addWindow(textEdit)
workspace.cascade()
workspace.show()
sys.exit(app.exec_())
-----------------------------------------
I have intensionally comment the line "app = QtGui.QApplication(sys.argv)" so to trigger an error.
I hit F5 (debug project), I have open the Log viewer and the shell but the error does not displayed anywhere.
I run the same snippet in Eclipse and i get "QWidget: Must construct a QApplication before a QPaintDevice"
So, how i can see in Eric4 errors like the mentioned one ??
Thanks!
More information about the Eric
mailing list