how the pulgin knows the end of main window
Posted: Fri Aug 12, 2022 4:32 am
hi all,
I am learning how to write plugins. I created a modeless dialog in the plugin class and destroyed it in the plugin class's destructor. I would expect the plugin class's destructor to be called when the user closes the main program, but it looks like it doesn't. I debugged the qpcl plugin and it seems to be the same. So, as a plug-in, how do you know that the main program is about to be closed?
Thanks a lot!
I am learning how to write plugins. I created a modeless dialog in the plugin class and destroyed it in the plugin class's destructor. I would expect the plugin class's destructor to be called when the user closes the main program, but it looks like it doesn't. I debugged the qpcl plugin and it seems to be the same. So, as a plug-in, how do you know that the main program is about to be closed?
Thanks a lot!