Build from Source

作者 mcx 日期 2026-07-22
Build from Source

Build from Source

Requirements

Dependency Version
Node.js >= 20
Rust stable (via rustup)
macOS 14+
Windows 10/11 + MSVC + WebView2

Clone & Build

1
2
3
4
5
git clone https://github.com/mcxen/qx.git
cd qx
npm install
npm run tauri dev # Development mode
npm run check # Architecture + docs + i18n checks

Package for Release

1
2
3
4
5
# macOS Apple Silicon
npm run tauri build -- --target aarch64-apple-darwin --bundles app

# Windows x64
npm run tauri build

Project Structure

Path Contents
src/ React frontend, built-in modules
src/plugin/ Plugin registry, runtime iframe, RPC
src-tauri/ Rust core: marketplace, clipboard, capture
public/doc/ User and developer docs
docs/ Internal architecture docs

← Plugin System · Back to Manual