# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/pyqt6/hotfix-setup.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- pyqt6-6.9.0/project.py.vanilla 2025-07-28 22:17:00.858117632 +0200 +++ pyqt6-6.9.0/project.py 2025-07-28 22:19:06.246895686 +0200 @@ -158,12 +158,6 @@ if tool not in Option.BUILD_TOOLS: return - # Check we support the version of Qt. - if self.builder.qt_version >> 16 != 6: - raise UserException( - "Qt v6 is required, not v{0}".format( - self.builder.qt_version_str)) - # Automatically confirm the license if there might not be a command # line option to do so. if tool == 'pep517': @@ -414,14 +408,7 @@ sys.stdout.write("Do you accept the terms of the license? ") sys.stdout.flush() - try: - resp = sys.stdin.readline() - except KeyboardInterrupt: - raise SystemExit - except: - resp = "" - - resp = resp.strip().lower() + resp = "yes" if resp == "yes": break