[PyQt] QDialog (and others) not resizing on PyQt 5.10.1 PIP install

Hans-Peter Jansen hpj at urpla.net
Wed Mar 7 19:35:40 GMT 2018


On Dienstag, 6. März 2018 11:09:35 Marko Luther wrote:
> Mac OS X 10.13.3 , Python 3.5.4, Qt 5.10.1 / PyQt 5.10.1 installed via PIP
> "PyQt5" With the attached script resizing works for Windows, but not for
> any other of the options incl. QDialog.
> 
> I downgraded to PyQt 5.10.0 and with the same code the QDialog resizes again
> as expected.
> 
> Any idea? Is this a Qt problem?

Do I understand this correctly, you downgraded PyQt, but kept the Qt version?

And you're not using any hints, just switch the type?

Fiddling with these hints _is_ awful, since they're handled in different os 
levels, some by Qt itself, some below, and they're highly system dependent.

On Linux (KDM), all types are resizable, but Popup, Tooltip and Splash.

Python: 3.4.5
Sip: 4.19.7
Qt5: 5.10.0
PyQt5: 5.10

Cheers,
Pete


More information about the PyQt mailing list