Compare commits

..

2 commits

Author SHA1 Message Date
e7828f2ad5
Merge branch 'master' of itsblue.dev:itsblue-development/LedDisplay
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-10 12:13:29 +02:00
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* *.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"); QCoreApplication::setApplicationName("Itsblue smart display");
QGuiApplication app(argc, argv); QGuiApplication app(argc, argv);
QFont f = app.font();
f.setPixelSize(16);
app.setFont(f);
QTranslator translator; QTranslator translator;
translator.load(":/" + QLocale::system().name() + ".qm"); translator.load(":/" + QLocale::system().name() + ".qm");