From 64dda93724c7f81c093fecaee6e6d8fab49aff8e Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Sun, 10 Sep 2023 12:13:24 +0200 Subject: [PATCH] Chore: commit unstaged changed --- app/.gitignore | 1 + app/build.sh | 16 ++++++++++++++++ app/main.cpp | 3 +++ 3 files changed, 20 insertions(+) create mode 100755 app/build.sh diff --git a/app/.gitignore b/app/.gitignore index 6df9758..099082e 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1 +1,2 @@ *.pro.user* +android_release.keystore diff --git a/app/build.sh b/app/build.sh new file mode 100755 index 0000000..9abaf94 --- /dev/null +++ b/app/build.sh @@ -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 diff --git a/app/main.cpp b/app/main.cpp index 89db6bf..52b452a 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -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");