On 2018-12-29 16:50-0000 António Rodrigues Tomé wrote:
Hi Alan it is easy to put this in a more standard qt way where plot win is not defined as a pointer and put win.show replacing // a.setActiveWindow( win ); // win->setVisible( true ); before the return a.exec() the fun thing is that in this case the program always crashes when one closes the window. It crashes when the destructor of PlotWindow::~PlotWindow() is called. it crashes there even if you empty the destructor. so I would conclude something very wrong with the extqt driver.
My experience was the same. Any change I attempted caused reliable segfaults rather than rare segfaults. So I agree there is some flaw in the current extqt device.
I'll promise to have a look, and probably completely replace it by something different as I do not like it, unlike the others that are nice.
That would be great when you have time for this. Alan __________________________ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel