No description
  • CMake 42.8%
  • QML 25.7%
  • C++ 21.4%
  • C 7.3%
  • Shell 2.8%
Find a file
2026-05-14 23:07:32 +02:00
.vscode Add vscode recommended extensions 2023-02-12 12:41:31 +01:00
i18n i18n: Use correct string for app name. 2021-08-11 09:07:37 +02:00
src feat: port to Qt6 2026-05-14 23:07:32 +02:00
.gitignore Port to CMake 2021-05-17 13:04:10 +02:00
asteroid-helloworld.desktop.template Move main library file to CMAKE_INSTALL_LIBDIR and add a launch script 2023-05-14 19:38:55 +02:00
CMakeLists.txt feat: port to Qt6 2026-05-14 23:07:32 +02:00
LICENSE Init 2021-02-06 11:50:04 +01:00
README.md Make the template easier to use 2023-09-19 01:37:39 +02:00
runscript.in feat: port to Qt6 2026-05-14 23:07:32 +02:00

AsteroidOS Hello World App

A simple hello world app for AsteroidOS

See https://wiki.asteroidos.org/index.php/Creating_an_Asteroid_app for instruction on how to build and run it.

If you have used the Hello World App as a template and wish to use it as the basis for your own AsteroidOS application here are the steps:

  1. Decide on a name for your project, (we use myproject-name as an example here)
  2. Change the project name in CMakeLists.txt from asteroid-helloworld to your name (e.g. myproject-name)
  3. Rename the i18n/asteroid-helloworld.desktop.h file to user your project name (e.g. i18n/myproject-name.desktop.h)
  4. Rename the asteroid-helloworld.desktop.template file to use your project name (e.g. myproject-name.desktop.template)
  5. Edit the newly renamed destkop.template file from the previous step and change the Exec= line to your project name
  6. Optionally, but highly recommended, change the Icon, X-Asteroid-Center-Color and X-Asteroid-Outer-Color values in that same file
  7. Alter the functionality to suit

Note that for steps 3 and 4, use git mv to rename the files so that your repository will reflect these changes.