[PyQt] [Bug report] PyQt5 doesn't work properly with centralWidget with layout, window not shown but produces lots of errors

flanker017 flankerhqd017 at gmail.com
Thu Apr 9 13:08:40 BST 2015


Hi:

PyQt version: 5.4.1
sip version: 4.16.7
Python version: 2.7.9 on Ubuntu 12.04 64bit
Qt version: Qt 5.3.2 x64

If we use ui designer to design a mainwindow, put two widgets in it (i.e.
TextBrowser), then use Horizontally layout on the two widgets. One would
expect two widgets sit from left to right, each consuming half of window
space.

However, pyqt5 failed to show up the mainwindow, showing a lot of errors.
If one removes the layout, then it will be fine. The Gtk-CRITICAL error
messages appears in both situations, so I think this is not important.
However, lines of logs marked with * are newly appeared when a layout is
used and pyqt is not working properly.

The same layout file works on Qt Creator's C++ Qt5.

Test code:

> from PyQt5 import uic
>
> from PyQt5.QtWidgets import *
>
>
>> class MyWindow(QMainWindow):
>
>     def __init__(self):
>
>         super(MyWindow, self).__init__()
>
>
>>         uic.loadUi("mainwindow.ui",self)
>
>
>> if __name__ == "__main__":
>
>     app = QApplication(sys.argv)
>
>     win = MyWindow()
>
>     win.show()
>
>     app.exec_()
>
>
Outputs in console:

/home/hqd/.pyenv/shims/python /home/hqd/Dropbox/keen/frida-gui/main.py


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed

QWidget::setMinimumSize: (MainWindow/MyWindow) The largest allowed size is
> (16777215,16777215) ****


> QWidget::setMinimumSize: (MainWindow/MyWindow) The largest allowed size is
> (16777215,16777215) ****

QWidget::setMinimumSize: (MainWindow/MyWindow) The largest allowed size is
> (16777215,16777215) ****


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed

QWidget::setMinimumSize: (MainWindow/MyWindow) The largest allowed size is
> (16777215,16777215) ****


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed


> (python:22792): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion
> `GTK_IS_WIDGET (widget)' failed



These and upper lines marked with *** are new logs:

> QXcbShmImage: shmget() failed (22) for size -262140 (32767x32767)

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::translate: Painter not active

QPainter::save: Painter not active

QPainter::setClipRect: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::translate: Painter not active

QPainter::save: Painter not active

QPainter::setClipRect: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::setClipRegion: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::setMinimumSize: (MainWindow/MyWindow) The largest allowed size is
> (16777215,16777215)

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::setClipRegion: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::translate: Painter not active

QPainter::save: Painter not active

QPainter::setClipRect: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::pen: Painter not active

QPainter::worldTransform: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::translate: Painter not active

QPainter::save: Painter not active

QPainter::setClipRect: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::setClipRegion: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::translate: Painter not active

QPainter::save: Painter not active

QPainter::setClipRect: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::translate: Painter not active

QPainter::save: Painter not active

QPainter::setClipRect: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::pen: Painter not active

QPainter::worldTransform: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::setClipRegion: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::translate: Painter not active

QPainter::save: Painter not active

QPainter::setClipRect: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::translate: Painter not active

QPainter::save: Painter not active

QPainter::setClipRect: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::pen: Painter not active

QPainter::setPen: Painter not active

QPainter::setPen: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::save: Painter not active

QPainter::setPen: Painter not active

QPainter::font: Painter not active

QPainter::setFont: Painter not active

QPainter::restore: Unbalanced save/restore

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QPainter::setClipRegion: Painter not active

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1

QWidget::paintEngine: Should no longer be called

QPainter::begin: Paint device returned engine == 0, type: 1


>

Thanks.
-- 
Sincerely,
Flanker He (a.k.a. Qidan He)
Website: http://flanker017.me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150409/a37996cd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mainwindow.ui
Type: application/x-designer
Size: 1187 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150409/a37996cd/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.py
Type: text/x-python
Size: 617 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150409/a37996cd/attachment-0001.py>


More information about the PyQt mailing list