qt terminal for gnuplot on cygwin workaround)
Tatsuro MATSUOKA
tmacchant2@yahoo.co.jp
Sun Dec 19 05:00:03 GMT 2021
A workaround for qt enables qt termnal on Cygwin is shown by Enrico Forestieri
https://sourceforge.net/p/gnuplot/mailman/gnuplot-beta/thread/16092.81463.qm@web103110.mail.kks.yahoo.co.jp/
--- a/qtbase-everywhere-src-5.10.1/src/network/socket/qlocalsocket_unix.cpp
+++ b/qtbase-everywhere-src-5.10.1/src/network/socket/qlocalsocket_unix.cpp
@@ -239,7 +239,7 @@ void QLocalSocket::connectToServer(OpenM
}
// create the socket
- if (-1 == (d->connectingSocket = qt_safe_socket(PF_UNIX, SOCK_STREAM, 0,
O_NONBLOCK))) {
+ if (-1 == (d->connectingSocket = qt_safe_socket(PF_UNIX, SOCK_STREAM,
0))) {
d->errorOccurred(UnsupportedSocketOperationError,
QLatin1String("QLocalSocket::connectToServer"));
return;
I myself generate library libQt5Network as libQt5Network-gnuplot and used gnuplot build.
I dp not know that the modification avove is valid but enables me to use qt terminal on cygwin.
Tatsuro
More information about the Cygwin
mailing list