Skip to content
Snippets Groups Projects
Commit 127a5687 authored by Simon Bjurek's avatar Simon Bjurek
Browse files

recompiled with pyside6, will hopefully work with pyqt6 also

parent 8a38ddc0
No related branches found
No related tags found
1 merge request!461Finalize earliest deadline scheduler
Pipeline #155300 passed
......@@ -160,7 +160,13 @@ def compile_ui(*filenames: str) -> None:
directory = directory if directory else "."
outfile = f"{directory}/ui_{file}.py"
if uic.PYSIDE6 or uic.PYQT6:
if uic.PYQT6:
from qtpy.uic import compileUi
with open(outfile, "w") as ofile:
compileUi(filename, ofile)
elif uic.PYSIDE6:
uic_ = shutil.which("pyside6-uic")
arguments = f"-g python -o {outfile} {filename}"
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment