Hi Alan
let's do a small change in qt_example. cpp to make it more orthodox.
QApplication a( argc, argv );
PlotWindow win ( Argc, Argv );
win.show();
when I do this the program always crashes on close in my system.
much likely because there is an attempt to free twice a memory block.
On 2018-12-31 16:05- António Rodrigues Tomé wrote:
Hi Alan
let's do a small change in qt_example. cpp to make it more orthodox.
QApplication a( argc, argv );
PlotWindow win ( Argc, Argv );
win.show();
when I do this the program always crashes on close in my system.
much likely be
On 2018-12-31 11:28-0800 Alan W. Irwin wrote:
[...] by the following temporary changes to
qt_example:
argc = 1;
QApplication a( argc, argv );
// Must construct an instance of PlotWindow after QApplication.
PlotWindow * win = new PlotWindow( Argc, Argv );
// Clean up Argv now t