fix(studio): Qt6 compat + Ctrl+C signal handler

- flash_console: setTextFormat(Qt.TextFormat.RichText) — int overload removed in Qt6
- installer_widget: same fix + add Qt to QtCore import
- project_editor/installer_widget: Session.has() → Session.can()
- app.py: signal.signal(SIGINT, SIG_DFL) so Ctrl+C kills the process from terminal

AR_electronics — AR-Autopilot Project
This commit is contained in:
2026-05-24 11:45:17 -04:00
parent 3c4a0b530e
commit b68cd64cf1
4 changed files with 14 additions and 11 deletions
+3
View File
@@ -80,6 +80,9 @@ def run(argv: list[str] | None = None) -> int:
from arautopilot.studio.login_window import LoginDialog
from arautopilot.studio.main_window import StudioMainWindow
import signal # noqa: PLC0415
signal.signal(signal.SIGINT, signal.SIG_DFL) # Ctrl+C kills the process
app = QApplication(sys.argv)
app.setApplicationName("AR-Autopilot Studio")