No description
  • QML 45.3%
  • C++ 27.8%
  • C 16.8%
  • CMake 6.8%
  • Python 1.8%
  • Other 1.5%
Find a file
Arseniy Movshev 8180067d50 Application.qml: flatmesh offset for flat tire displays
Recent changes to flatmesh result make it circular, but the quirks of
flat tire devices result in it appearing as oval. Add flat tire offset
so that flatmesh appears circular and fills the whole screen on flat
tire displays
2026-07-02 07:59:16 -06:00
cmake
src Application.qml: flatmesh offset for flat tire displays 2026-07-02 07:59:16 -06:00
wayland-protocols
.gitignore
CMakeLists.txt controls: Use MultiEffect instead of Qt5Compat.GraphicalEffects 2026-06-18 10:20:14 +02:00
COPYING
generate-desktop.sh
README.md

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.