diff --git a/Dockerfile b/Dockerfile index 760d10b2..3c4e6de3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ LABEL org.opencontainers.image.source https://github.com/khoj-ai/khoj # Install System Dependencies RUN apt update -y && \ - apt -y install python3-pip python3-pyqt6 git + apt -y install python3-pip git # Install Application COPY . . diff --git a/pyproject.toml b/pyproject.toml index 68aa53c7..e0e6f720 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ dependencies = [ "tenacity >= 8.2.2", "pillow == 9.3.0", "pydantic >= 1.10.10", - "pyqt6 == 6.3.1", + "pyside6 >= 6.5.1", "pyyaml == 6.0", "rich >= 13.3.1", "schedule == 1.1.0", diff --git a/src/khoj/interface/desktop/main_window.py b/src/khoj/interface/desktop/main_window.py index 6aef7be8..87988f01 100644 --- a/src/khoj/interface/desktop/main_window.py +++ b/src/khoj/interface/desktop/main_window.py @@ -2,8 +2,8 @@ import webbrowser # External Packages -from PyQt6 import QtGui, QtWidgets -from PyQt6.QtCore import Qt +from PySide6 import QtGui, QtWidgets +from PySide6.QtCore import Qt # Internal Packages from khoj.utils import constants diff --git a/src/khoj/interface/desktop/system_tray.py b/src/khoj/interface/desktop/system_tray.py index 048b2772..73fb0b7c 100644 --- a/src/khoj/interface/desktop/system_tray.py +++ b/src/khoj/interface/desktop/system_tray.py @@ -2,7 +2,7 @@ import webbrowser # External Packages -from PyQt6 import QtGui, QtWidgets +from PySide6 import QtGui, QtWidgets # Internal Packages from khoj.utils import constants, state diff --git a/src/khoj/main.py b/src/khoj/main.py index 84815b63..acbded40 100644 --- a/src/khoj/main.py +++ b/src/khoj/main.py @@ -15,8 +15,8 @@ warnings.filterwarnings("ignore", message=r"legacy way to download files from th # External Packages import uvicorn from fastapi import FastAPI -from PyQt6 import QtWidgets -from PyQt6.QtCore import QThread, QTimer +from PySide6 import QtWidgets +from PySide6.QtCore import QThread, QTimer from rich.logging import RichHandler import schedule