Re: [PySide] Internal C++ object (PySide2.QtWidgets.QListWidget) already deleted

2023-03-27 Thread henry.wede--- via PySide
Hello, So... I don't understand why this is happening but I finally figured out what was causing the problem.  Somehow I am not using drag and drop correctly. I drag an item from a QListWidget and drop it onto a QGraphicsScene.  In the graphics scene events, I was checking that the event.source(

Re: [PySide] Internal C++ object (PySide2.QtWidgets.QListWidget) already deleted

2023-03-27 Thread henry.wede--- via PySide
Thank you for the suggestion Alexis.  I tried to connect this signal as follows but never saw a message before the error happened. along with other connectionsself.ui.listBlockTypes.destroyed.connect(self.listSource_Destroyed) another method in the application class...def listSource_Destroy

Re: [PySide] Submitting App to Mac Store

2023-03-27 Thread Cristián Maureira-Fredes via PySide
Hey Pedro, thanks for reaching out on this. There are a couple of symbols that are guarded by the dev build of Qt https://codereview.qt-project.org/c/qt/qtbase/+/437376 But many of the others, like _lzma_stream_encoder, _lzma_alone_decoder, etc are present in CPython while building https://git

Re: [PySide] Internal C++ object (PySide2.QtWidgets.QListWidget) already deleted

2023-03-27 Thread Alexis Jeandet
Hello Henry, I usually get this error when I forget to keep an active reference on one object from Python. Then since QListWidget inherits QObject, you can connect something to its "destroyed" signal to see when it gets deleted. https://doc.qt.io/qt-6/qobject.html#destroyed Alexis. On Mon, 2023-0

[PySide] Submitting App to Mac Store

2023-03-27 Thread Pedro Ferreira
Hello, I have an application written with PySide that I'm trying to submit to the Mac Store. I'm using PyInstaller to package it and sign it. I submitted the app but on the review process I got a rejection with this message: Your app uses or references the following non-public or deprecated APIs