[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] [Bug report] PyQt5 doesn't work properly with centralWidget with layout, window not shown
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2015-04-14 17:50:08
Message-ID: 965704324dca2a713aafe36cbcb7ee7d () riverbankcomputing ! com
[Download RAW message or body]

On 09/04/2015 1:08 pm, flanker017 wrote:
> 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.

Works fine for me with current versions.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic