StudentBox
To clone the project, git-lfs is required.
StudentBox is an application that allows you to record and edit a list of lessons for the day for a student. The application is an example of creating an application using QtBindings in KMP. The main goal is to show how to create and use QtBindings in a project for Aurora OS.
Includes:
- Recording lessons for the day.
- Editing the list of lessons.
KMP
- Getting the app name based on the platform.
- Database
- Getting days with lessons.
- Getting a day with lessons.
- Updating lessons.
- Building the aar library.
- Building a static C library.
- Creating bindings for Qt.
Libs
- SQLDelight.
- Coroutines.
- Serialization.
- kotlinx-datetime.
- Ksp.
- QtBindings.
Android
Native Android platform application using KMP library.
Libs
Aurora OS
Native Aurora OS application using the static KMP library and created QtBindings. In a project, bindings are separated from the project itself via Qt subdirectories. The subdirectory with bindings is compiled into a static library and added to the main project.
Build Variants
Note: Tasks prefixed with
hintprepare the necessary artifacts and display explicit execution steps.
- Android requires an active emulator or connected device to be running before execution.
- Aurora OS requires the Aurora IDE and a configured emulator or connected device.
# Android Emulator / Device
./gradlew hintAndroidRun
# Aurora OS Emulator / Device
./gradlew hintAuroraRun
Resources used
icons
- Andreas Mehlsen