|
From: sfeam <sf...@us...> - 2017-03-22 02:55:04
|
On Tuesday, 21 March 2017 01:08:48 PM Tatsuro MATSUOKA wrote:
> I checked changes after pre-release of 5.0.6 and found that
> the change
>
>
> 2017-03-08 Ethan A Merritt <merritt@u.washington.edu>
>
> * src/qtterminal/QtGnuplotEvent.h: Move new enum GEPID (2017-02-25) to
> end of enum list rather than in the middle. Otherwise the gnuplot_qt
> built for 5.0.6 is incompatible with gnuplot executables 5.0.0-5, which
> makes comparison of multiple versions to debug things harder than it
> needs to be. If the new event is at the end, all earlier gnuplot 5.0.x
> versions can share gnuplot_qt 5.0.6.
>
> prevents gnuplot_qt.exe to start on windows.
>
> I do not have enough knowledge so that I do not know why this change causes
> trouble on qt terminal for windows.
Have you confirmed that it really is that one change?
Does commenting out this one line in qt_term.cpp make it work again?
diff -urp gnuplot-5.0.6pre/src/qtterminal/qt_term.cpp gnuplot-5.0.6/src/qtterminal/qt_term.cpp
--- gnuplot-5.0.6pre/src/qtterminal/qt_term.cpp 2017-02-25 14:18:30.000000000 -0800
+++ gnuplot-5.0.6/src/qtterminal/qt_term.cpp 2017-03-21 19:49:24.159719912 -0700
@@ -537,7 +537,7 @@ void qt_graphics()
qt->out << GEInitWindow;
#ifdef _WIN32
// Let the terminal window know our PID
- qt->out << GEPID << quint32(GetCurrentProcessId());
+ // qt->out << GEPID << quint32(GetCurrentProcessId());
#endif
qt->out << GEActivate;
qt->out << GETitle << qt_option->Title;
> Tatsuro
>
|