Message 1 of 1
Maya 2017 C++ Qt ui memory management issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am porting a plugin I wrote for maya 2016 that was based on helixQtCmd example to maya 2017 and Qt 5.6.1 (It has features that I need).
While in maya 2016 my plugin worked as it should in 2017 (more correctly qt 5.6.1) the changes made to QPointer made unusable.
Now even the devkit examples cause exceptions that originates from the new QPointer behavior and given that there are no debug symbols for maya's qt it is impossible to find what widget not being deleted and therefore not clearing the QPointer to the ui.
If I change the Qpointer to regular cpp pointer or QSharedPointer I cannot track if the user closed the window.
Can anyone please suggest another approach for managing Qt ui life cycle?