On 2018-12-29 21:45-0000 António Rodrigues Tomé wrote:

Hi Alan
I just tried another thing as I was not feel comfortable by the fact that
apparently   QtExtWidget is setup in the main window
but free in the driver
however just found out that in fact the  plD_tidy_extqt( PLStream * pls
) is never reached.

Hi António:

That is an interesting result.  Normally, the way plD_tidy_extqt is called
is via plend1 which in turn is called by plend.  But there is no mention
of either of those in qt_example.cpp or qt_PlotWindow.cpp.
So based on a very quick look (so this is just slightly informed speculation),
I think part of the solution is to modify the PlotWindow destructor to
call plend to properly terminate PLplot.  In addition you
have to figure out a way to delete win instance of PlotWindow within 
qt_example.cpp
so that the PlotWindow destructor is actually called at the correct time.

But maybe if you completely rewrite extqt as you suggested, proper
termination will not be so difficult as this?  Anyhow, I leave the
solution of the qt_example termination issues we have been
discussing completely to you.

[...]In two months time I will look careful into this. [...]

Good!  I look forward to whatever solution you come up with then.

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

Reply via email to