← Whispering

feat: Enable native desktop window mode with PyQt6

20dcd6582dcfab4c67ce95b999ac0708e569b930 · Claude · Dec 1, 2025 20:27

Add PyQt6 and PyQt6-WebEngine to requirements for native window support.
The app now runs as a proper desktop window (like the tkinter version)
instead of in a browser.

Gracefully falls back to browser mode if PyQt6 is not installed.

Install native mode:
  pip install PyQt6 PyQt6-WebEngine

+2 · 1 file changed

  • requirements.txt +2 −0
diff --git a/requirements.txt b/requirements.txt
index 2ea98a5..d22c5ef 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -30,3 +30,5 @@ pyperclip
 # NiceGUI for modern UI
 nicegui>=1.4.0
 pywebview>=4.0.0  # Required for NiceGUI native mode
+PyQt6>=6.0.0  # GUI backend for pywebview native mode
+PyQt6-WebEngine>=6.0.0  # WebEngine for pywebview