forked from qt-creator/qt-creator
Utils: Add QTC_USE_WINPTY environment variable
Change-Id: I769bfe8bd92529f672694da38d04914e0a51ed1b Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
2
src/libs/3rdparty/libptyqt/ptyqt.cpp
vendored
2
src/libs/3rdparty/libptyqt/ptyqt.cpp
vendored
@@ -34,7 +34,7 @@ IPtyProcess *PtyQt::createPtyProcess(IPtyProcess::PtyType ptyType)
|
||||
}
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
if (ConPtyProcess().isAvailable())
|
||||
if (ConPtyProcess().isAvailable() && qgetenv("QTC_USE_WINPTY").isEmpty())
|
||||
return new ConPtyProcess();
|
||||
else
|
||||
return new WinPtyProcess();
|
||||
|
Reference in New Issue
Block a user