From 7f107f644073ea9ce7ec9a39ecd6a2d105a57d0d Mon Sep 17 00:00:00 2001 From: Martyn Gigg <martyn.gigg@stfc.ac.uk> Date: Tue, 20 Nov 2018 12:44:56 +0000 Subject: [PATCH] mantidpython.bat uses Qt4 by default Matches the behaviour of the linux scripts --- buildconfig/CMake/Packaging/mantidpython.bat.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buildconfig/CMake/Packaging/mantidpython.bat.in b/buildconfig/CMake/Packaging/mantidpython.bat.in index 031bc9aa2e3..6359d97741b 100644 --- a/buildconfig/CMake/Packaging/mantidpython.bat.in +++ b/buildconfig/CMake/Packaging/mantidpython.bat.in @@ -21,6 +21,11 @@ set PYTHONPATH=%MANTIDPATH%;%PYTHONPATH%@PARAVIEW_PYTHON_PATHS@ set _PYTHON_EXE=%PYTHONHOME%\python.exe set _IPYTHON_CMD=%PYTHONHOME%\Scripts\ipython.cmd +:: QtPy should use Qt4 by unless specified +if "%QT_API%"=="" ( + set QT_API=pyqt +) + :: Matplotlib backend should default to Qt if not set (requires matplotlib >= 1.5) if "%MPLBACKEND%"=="" ( set MPLBACKEND=qt4agg -- GitLab