Compare commits

...

2 Commits

Author SHA1 Message Date
Dorian Zedler e7828f2ad5
Merge branch 'master' of itsblue.dev:itsblue-development/LedDisplay
continuous-integration/drone/push Build is passing Details
2023-09-10 12:13:29 +02:00
Dorian Zedler 64dda93724
Chore: commit unstaged changed 2023-09-10 12:13:24 +02:00
3 changed files with 20 additions and 0 deletions

1
app/.gitignore vendored
View File

@ -1 +1,2 @@
*.pro.user*
android_release.keystore

16
app/build.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
# ABIS: 'ANDROID_ABIS=armeabi-v7a arm64-v8a'
# read password
echo "Please enter the keystore password: "
read keystore_password
echo "You entered: '$keystore_password'"
docker run -it \
-v $(pwd):/src \
-e PLUGIN_QMAKE_ARGUMENTS="-spec android-clang CONFIG+=qtquickcompiler" \
-e PLUGIN_ANDROIDDEPLOYQT_ARGUMENTS="--android-platform android-31 --gradle --aab --release" \
-e PLUGIN_ANDROID_KEYSTORE_DATA="$(base64 android_release.keystore)" \
-e PLUGIN_ANDROID_KEYSTORE_ALIAS="bmca" \
-e PLUGIN_ANDROID_KEYSTORE_STORE_PASS="$keystore_password" \
--entrypoint /bin/bash \
itsblue.dev/plugins/qt-android:5.15.5-3

View File

@ -21,6 +21,9 @@ int main(int argc, char *argv[])
QCoreApplication::setApplicationName("Itsblue smart display");
QGuiApplication app(argc, argv);
QFont f = app.font();
f.setPixelSize(16);
app.setFont(f);
QTranslator translator;
translator.load(":/" + QLocale::system().name() + ".qm");