[PySide] Seeing Deprecation Warning messages

Cristián Maureira-Fredes Cristian.Maureira-Fredes at qt.io
Mon Mar 30 11:22:23 CEST 2020



On 3/30/20 10:51 AM, Florian Bruhin wrote:
> 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
> 

Cool,

thanks for the reminder Florian.
5.14.2 will be out in the following days though,
so you can continue using the code normally once released.
(with a bit of luck it's out today...)

Cheers



-- 
Dr. Cristian Maureira-Fredes
R&D Manager

The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin

Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B


More information about the PySide mailing list