No description
  • QML 44.6%
  • C++ 29%
  • C 16.5%
  • CMake 6.7%
  • Python 1.8%
  • Other 1.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Florent Revest 7eb92e63e4 utils: add WallClock element
Provide a WallClock type under org.asteroid.utils to replace Nemo.Time's
WallClock. It is a single QTimer aligned to the next second/minute/day
boundary. AsteroidOS keeps system time via systemd rather than timed, so
the timezone plumbing and the timed/mce backends are dropped, along with
the unused ready/timezone*/systemTimeUpdated API; only time, enabled and
updateFrequency remain.
2026-07-31 16:42:11 +02:00
cmake Add asteroid_app_qml_module and auto-pick the cachegen URL 2026-06-05 21:36:36 +02:00
src utils: add WallClock element 2026-07-31 16:42:11 +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.