Chore: commit unstaged changed
This commit is contained in:
parent
39ab8bbccf
commit
64dda93724
3 changed files with 20 additions and 0 deletions
1
app/.gitignore
vendored
1
app/.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
*.pro.user*
|
*.pro.user*
|
||||||
|
android_release.keystore
|
||||||
|
|
16
app/build.sh
Executable file
16
app/build.sh
Executable 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
|
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue