Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
1.1.0, 1.1.1, 1.1.2
-
ddbd93680730811a5020b4d429c2e3e11d6823e3
Description
The following SHOULD print 'foo', but it prints nothing.
If the import line is commented out, this behaves as expected.
from __future__ import unicode_literals import sys from PySide.QtGui import * class Window(QMainWindow): def __init__(self): super(Window, self).__init__() print self.tr('foo') app = QApplication(sys.argv) Window().show() sys.exit(app.exec_())