[PySide] PySide2 on OSX 12.5.1 not working?

Frank Rueter frank at ohufx.com
Tue Sep 13 22:15:44 CEST 2022


Just for posterity:
If you are stuck with PySide2 you can also simply set this environment
variable in your code before starting the event loop:
QT_MAC_WANTS_LAYER = 1



On Sat, Sep 3, 2022 at 3:45 PM Frank Rueter <frank at ohufx.com> wrote:

> Just to follow up, PySide6 does indeed work for me on OSX.
> Thanks David!
>
> On Tue, Aug 30, 2022 at 12:06 PM Frank Rueter <frank at ohufx.com> wrote:
>
>> I'd prefer PySide2 as our industry is using that as the standard
>> <https://vfxplatform.com/> for all DCC apps which is what I am mostly
>> developing things for.
>> Will try PySide6 though just to see if that is the issue.
>>
>> Cheers,
>> frank
>>
>>
>> On Tue, Aug 30, 2022 at 11:36 AM David Ching <dc at dcsoft.com> wrote:
>>
>>> > Date: Sat, 27 Aug 2022 10:30:41 +1200
>>> > From: Frank Rueter <frank at ohufx.com>
>>> > Subject: [PySide] PySide2 on OSX 12.5.1 not working?
>>> >
>>> > Hi all,
>>> >
>>> > I just set up PySide2 on my laptop but when I run a simple test like
>>> the
>>> below all I get is an empty window which freezes/beachballs straight
>>> away.
>>> ...
>>> > from PySide2 import QtWidgets
>>>
>>> Are you sure you want PySide2 and not PySide6?  I did a test on OSX
>>> 12.5.1
>>> with Python 3.10 and it works with PySide6.
>>>
>>> Thanks,
>>> David
>>>
>>>
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20220914/00d610dc/attachment.htm>


More information about the PySide mailing list