From: Ethan A M. <me...@uw...> - 2022-09-03 23:04:39
|
On Saturday, 3 September 2022 15:07:23 PDT Dima Kogan wrote: > Ethan A Merritt <me...@uw...> writes: > > In the file .../src/Makefile.am is a commented out section that builds > > a simple Qt app with embedded gnuplot windows. > > > > Edit that file to un-comment the section and re-run > > ./prepare; ./configure; make > > ./embed_example > > Cool! If this works, should building this be enabled by default? > > I just tried it, and it doesn't work right for me. The embed_example > program builds. Running it pops up a window that disappears immediately. > Then I get the shell prompt back implying that the embed_example > application has exited. BUT it keeps running in the background > apparently. And I do get a qt window with a plot maybe a minute later. > Sometimes. Sometimes the background process just exits after a few > minutes without showing me a plot. ??? I cannot explain any of that. It works normally for me here. A qt window pops up immediately with four embedded gnuplot widgets and a text pane. Output from gnuplot appears in the text pane. The demo replots to one of the widgets every second or so and continues to do so until I close the window or hit Ctrl-C in the controlling terminal. No zombies either :-) Ethan |