Re: "underlying C/C++ object has been deleted" PyQt
Originally Posted by janosimas
I found the cause but not the reason
(in the function I posted was missing a line
And this is why I wrote my sig
I guess you did soemthing wrong with pyqt ref count rules or something. Think about it - if you lost your only pointers to the c++ object, pyqt should clean up in c++, otherwise it is memory leak.
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
Bookmarks