diff --git a/pttyhandler.cpp b/pttyhandler.cpp index a963eaa..fd37005 100644 --- a/pttyhandler.cpp +++ b/pttyhandler.cpp @@ -21,6 +21,8 @@ pttyHandler::pttyHandler() #ifdef Q_OS_WIN portName = "COM20"; +#else + portName = "/dev/ptmx"; #endif setupPtty(); // basic parameters openPort();