# Kylin AI Assistant

Kylin AI Assistant

## Introduction

Kylin AI Assistant is an intelligent desktop AI assistant application for the Kylin operating system, developed by Kylin Software.

## Requirements

- Kylin operating system
- Qt 5.15+
- Build dependencies are listed in `Build-Depends` of `debian/control`

## Install Build Dependencies

```bash
# Install build dependencies from debian/control in the source directory
sudo apt-get build-dep .
```

If the command above is unavailable, install the main dependencies manually:

```bash
sudo apt-get install qtbase5-dev qt5-qmake qttools5-dev-tools \
    libqt5svg5-dev libqt5websockets5-dev qtmultimedia5-dev \
    qtdeclarative5-dev qtquickcontrols2-5-dev cmake pkgconf
```

For the complete dependency list, refer to `debian/control`.

## Build from Source

```bash
# 1. Clone the project
git clone https://gitee.com/openkylin/kylin-aiassistant.git

# 2. Enter the project directory
cd kylin-aiassistant/kylin-aiassistant

# 3. Build with qmake
qmake
make

# 4. Install
sudo make install
```

## Debian Package Build

```bash
cd kylin-aiassistant
dpkg-buildpackage -us -uc
```
If missing dependencies are reported during the build, install them as needed.

## Project Structure

```
kylin-aiassistant/
├── kylin-aiassistant/          # Main application
├── peony-menu-plugin-kylin-aiassistant/  # File manager plugin (x86_64/arm64)
└── debian/                    # Debian packaging files
```
