Skip to content
This repository was archived by the owner on Oct 4, 2026. It is now read-only.
pyobsPublic archive

About

C++/QML GUI for pyobs

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

pyobs-polaris

Status: proof-of-concept, not under further development. Polaris showed that a pyobs client can be built in C++/QML with no pyobs-core dependency, discovering everything live over XMPP. It won't be developed further: pyobs-web-client is the maintained path forward for new clients (and can be compiled to Android/iOS), with pyobs-gui continuing alongside it. The code is kept as a working reference for the protocol.

Polaris is a clean-room C++/QML desktop client for pyobs 2.0, an observatory control framework. It's modeled directly on pyobs-web-client: it has no dependency on pyobs-core itself — everything is built from XMPP presence and disco#info discovered live over the wire, using QXmpp in place of Strophe.js.

Rendering is generic by default: connect, and any discovered module's interfaces render as key/value cards straight from their disco#info schema, no per-interface code required. Hand-written QML widgets opt in only where a custom UI earns its place — currently IRoof, IAutoFocus, IAcquisition, IAutoGuiding, IMode, IWeather, ITelescope, and ICamera. Third-party widgets can also be added at runtime via a plugin directory (see examples/plugins/).

Quick start

# One-time per machine:
pipx install conan && conan profile detect --force

git clone git@github.com:pyobs/pyobs-polaris.git
cd pyobs-polaris

conan install . --build=missing
cmake --preset conan-release -DCMAKE_BUILD_TYPE=Release
cmake --build --preset conan-release
ctest --output-on-failure --test-dir build/Release

./build/Release/polaris

Prerequisites (Linux; developed/CI'd on Ubuntu 26.04): Qt 6.5+ (qt6-base-dev qt6-base-dev-tools qt6-declarative-dev qt6-declarative-dev-tools), libsecret-1-dev pkg-config, CMake 3.21+, a C++20 compiler, and Conan 2.x. Polaris always links against the system Qt install — it's never bundled, including in release tarballs.

IDE users (CLion or similar): point the IDE's CMake profile at the conan-release/conan-debug preset generated by conan install above, not an ad-hoc custom profile — a raw cmake invocation bypasses the Conan-generated toolchain and find_package(cfitsio) fails outright (cfitsio is Conan-only, no system package fallback). If the IDE doesn't support presets directly, add -DCMAKE_TOOLCHAIN_FILE=<repo>/build/<Release|Debug>/generators/conan_toolchain.cmake to that profile's CMake options instead. See specs/steering/environment-setup.md for the full write-up.

Documentation

  • Full docs, including the C++ API reference and a per-view catalog: https://docs.pyobs.org/projects/pyobs-polaris/
  • DEVELOPMENT.md — short pointer into specs/ plus a git-history escape hatch; not a growing log.
  • specs/ — design docs (one per shipped feature), ADRs, and steering docs (environment setup, releases, handoff notes).
  • TODO.md — what's planned next.

Releases

See specs/steering/releases.md — in short: push a vX.Y.Z tag, CI builds/tests/packages/publishes automatically.

Repository

Renamed from pyobs-gui++ (itself renamed from pyobs-qml-client during early development): ++ isn't valid in a GitHub repo name, which the old name only worked around with a trailing hyphen (pyobs-gui-) — the project and its GUI are both just called Polaris now.

About

C++/QML GUI for pyobs

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages