Required Dependencies
These dependencies are required to build Zeal:CMake
Minimum Version: 3.16.3 (3.21.0+ recommended for presets) CMake is the build system used by Zeal.Qt Framework
Minimum Version: 5.15.2 (Qt 5) or 6.2.0 (Qt 6) Zeal supports both Qt 5 and Qt 6. Qt 6 is automatically preferred if available.Required Qt Modules
- Qt Concurrent: For multi-threaded operations
- Qt Gui: GUI framework foundation
- Qt Network: Network access and HTTP server
- Qt WebEngine Core: Web rendering engine
- Qt WebEngine Widgets: Web view widgets
- Qt Widgets: Widget-based UI components
Platform-Specific Qt Modules
Linux (X11 only): Qt X11 Extras (Qt 5) or Qt Gui Private (Qt 6.10+)Required for global keyboard shortcuts support.
libarchive
Purpose: Reading compressed docset archives libarchive provides support for reading various archive formats (tar, zip, etc.).On macOS, CMake will automatically look in Homebrew paths (
/opt/homebrew/opt/libarchive and /usr/local/opt/libarchive).SQLite
Purpose: Database operations for docset metadata and search SQLite is used to read docset indexes and manage application data.X11 Libraries (Linux Only)
On X11-based Linux systems, additional libraries are required for global shortcuts:- libX11: X11 client library
- xcb-util-keysyms: XCB keyboard symbols library
- ECM: Extra CMake Modules (for finding XCB)
Dependencies via vcpkg
Zeal includes avcpkg.json manifest for managing dependencies on Windows:
vcpkg.json
Using vcpkg
Install vcpkg
Follow the vcpkg installation guide:
Qt must still be installed separately. vcpkg does not provide Qt in Zeal’s configuration.
Optional Dependencies
cpp-httplib
Purpose: HTTP server for local API Zeal can use either the system-installed cpp-httplib or a bundled version.Zeal includes a bundled copy of cpp-httplib in
src/contrib/. CMake will use it automatically if the system version is not found.OpenSSL
Purpose: HTTPS support in Qt WebEngine Required for secure connections when viewing documentation.Vulkan Headers
Purpose: GPU acceleration in Qt WebEngine Improves rendering performance.Windows (vcpkg)
On Linux and macOS, Vulkan headers are typically included with graphics drivers or Qt WebEngine dependencies.
Build Tool Dependencies
Ninja (Optional but Recommended)
Ninja provides faster builds than Make.Compiler Requirements
Zeal requires a C++17-compatible compiler:- GCC: 7.0+
- Clang: 5.0+
- MSVC: 2017 (15.7)+
Dependency Summary Table
| Dependency | Minimum Version | Purpose | Required On |
|---|---|---|---|
| CMake | 3.16.3 | Build system | All platforms |
| Qt | 5.15.2 / 6.2.0 | GUI framework | All platforms |
| libarchive | Any | Archive extraction | All platforms |
| SQLite | Any | Database operations | All platforms |
| libX11 | Any | X11 integration | Linux (X11) |
| xcb-util-keysyms | Any | Keyboard shortcuts | Linux (X11) |
| Qt X11 Extras | 5.15.2+ | X11 integration | Linux (Qt 5 + X11) |
| ECM | Any | CMake modules | Linux (X11) |
| OpenSSL | Any | HTTPS support | All platforms (optional) |
| cpp-httplib | Any | HTTP server | All platforms (bundled fallback) |
| Vulkan headers | Any | GPU acceleration | All platforms (optional) |
Next Steps
Building Zeal
Learn how to build Zeal with these dependencies
Platform Notes
Platform-specific dependency installation tips