Fix: Update tools to use venv

This commit is contained in:
2025-05-30 12:15:51 +02:00
parent b691d69ae6
commit b242406b8b
3 changed files with 8 additions and 4 deletions

View File

@@ -32,7 +32,10 @@ def main():
run_pyqt6_tools_tool(sys.argv[1:])
else:
print("Unexpected: qt6-tools found globally, using system environment.")
subprocess.run(["qt6-tools"] + sys.argv[1:], check=True)
if sys.argv[1] == "pylupdate6":
subprocess.run(sys.argv[1:], check=True)
else:
subprocess.run(["qt6-tools"] + sys.argv[1:], check=True)
if __name__ == "__main__":
if len(sys.argv) < 2: