[PySide] Seeing Deprecation Warning messages

Florian Bruhin me at the-compiler.org
Mon Mar 30 10:51:09 CEST 2020


On Fri, Mar 27, 2020 at 04:04:54PM +0100, Cristián Maureira-Fredes wrote:
> I'm almost certain this was already solved...
> so maybe something went wrong.

It was fixed here:
https://codereview.qt-project.org/c/pyside/pyside-setup/+/288381

That commit will be part of 5.14.2 but wasn't in 5.14.1, which is why Ed is
still seeing those warnings.

The only workaround I know of is rather ugly:

  twi.setTextAlignment(Qt.Alignment(int(Qt.AlignRight) | int(Qt.AlignVCenter)))

Florian

-- 
me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20200330/f53d2dfb/attachment.sig>


More information about the PySide mailing list