Chore: commit unstaged changed

This commit is contained in:
Dorian Zedler 2023-09-10 12:13:24 +02:00
parent 39ab8bbccf
commit 64dda93724
Signed by: dorian
GPG key ID: 989DE36109AFA354
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");