"QWidget: Must construct a QApplication before a QPaintDevice" is the key. That's a Qt error message telling you your code is wrong. Not PyQt specific.
** Changed in: python-qt4 (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312857 Title: Not constructing a QApplication before a QPaintDevice leads to core dumo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/1312857/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs