No description
  • QML 45.6%
  • C++ 27.5%
  • C 16.8%
  • CMake 6.8%
  • Python 1.8%
  • Other 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
moWerk 3f2fa1139e RemorseTimer: Add square boundary for the content so the gauge stays a circle
On non-square screens the countdown gauge got stretched into an oval.
This wraps the arc and labels in a centered Math.min(width, height) square so it stays circular also when the component is not fullscreen.
Re #44.
2026-07-20 22:14:49 +02:00
cmake Add asteroid_app_qml_module and auto-pick the cachegen URL 2026-06-05 21:36:36 +02:00
src RemorseTimer: Add square boundary for the content so the gauge stays a circle 2026-07-20 22:14:49 +02:00
wayland-protocols Add zasteroid_gestures_manager_v1 Wayland protocol client 2026-06-02 14:33:50 +02:00
.gitignore Port to CMake 2021-05-17 12:59:46 +02:00
CMakeLists.txt controls: Use MultiEffect instead of Qt5Compat.GraphicalEffects 2026-06-18 10:20:14 +02:00
COPYING Adds LGPLv2.1 license info 2015-11-21 14:10:43 +01:00
generate-desktop.sh Port to CMake 2021-05-17 12:59:46 +02:00
README.md Describe non-watch building in README 2023-03-25 20:30:42 +01:00

QML Components for Asteroid

QML-Asteroid provides elements to develop applications for AsteroidOS.

Non-watch version

It's often convenient to develop on a desktop computer rather than directly on the watch. For that reason, qml-asteroid also supports building a non-watch version. To build and install it on a desktop computer, one can turn off the generation of the AsteroidApp class and the installation of CMake modules. For example, in the project's main directory, we might execute this command:

cmake -DWITH_ASTEROIDAPP=OFF -DWITH_CMAKE_MODULES=OFF -S . -B desktop

This will create a directory desktop which will then contain all of the CMake-generated build scripts. To build the modules:

cmake --build desktop -j

This tells CMake to build in the desktop directory and the -j tells it to use as many cores as possible to speed up the build. Once this is done, one can install the modules on the computer:

sudo cmake --build desktop -j -t install

This uses sudo because root privileges are generally needed for installation. The -t install tells CMake that the build target (that is, the goal) is install so the org.asteroid.controls and org.asteroid.utils QML modules will be installed in the correct location for the computer and may then be used, for example, in testing and developing watchfaces.