From b3d2917d2c76f1aee08ec5d547559ec160ff3182 Mon Sep 17 00:00:00 2001 From: Ellis Hewins Date: Mon, 3 Jul 2023 15:38:52 +0100 Subject: [PATCH] Changed the names of the PySide6 executables to lowercase in convertUI.py to avoid 'command not found' error messages when trying to install/run on Linux systems. --- src/sas/qtgui/convertUI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sas/qtgui/convertUI.py b/src/sas/qtgui/convertUI.py index bc1e06f4fc..bb402af8f7 100644 --- a/src/sas/qtgui/convertUI.py +++ b/src/sas/qtgui/convertUI.py @@ -24,7 +24,7 @@ def pyrrc(in_file, out_file): """ Run the qt resource compiler """ - run_line = f"PySide6-rcc {in_file} -o {out_file}" + run_line = f"pyside6-rcc {in_file} -o {out_file}" os.system(run_line) @@ -34,7 +34,7 @@ def pyuic(in_file, out_file): """ in_file2 = os.path.abspath(in_file) out_file2 = os.path.abspath(out_file) - run_line = "PySide6-uic " + in_file2 + " -o " + out_file2 + run_line = "pyside6-uic " + in_file2 + " -o " + out_file2 os.system(run_line) def file_in_newer(file_in, file_out):