Skip to content

Jacute/unmatched-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unmatched Tracker

Android app for tracking Unmatched activities

Features:

  • Hero & map randomizer
  • Game history
  • Statistic tracker

How to contribute

Development environment

  1. Download Qt sources (minimum version 6.4)
  2. Build base Qt
  3. Download Android SDK
  4. Configure Qt for your architecture (x86_64/x86/arm64-v8a/armeabi-v7a)
mkdir -p ~/dev/build-qt-android
cd ~/dev/build-qt-android
<qtbasedir>/configure -prefix <install_qt_dir> -qt-host-path <qthostbuild>/qtbase -android-abis x86_64 -android-sdk <android_sdk_dir> -android-ndk <android_sdk_dir>/ndk/27.2.12479018
  1. Build and install
cmake --build . --parallel
cmake --install .

Build project

  1. Set variables in ~/.bashrc

QT_CMAKE - path to qt-cmake in qt directory builded for your architecture ANDROID_SDK - path to android SDK ANDROID_NDK - path to android NDK

  1. Apply .bashrc
source ~/.bashrc
  1. Configure project for platform android-33 and arch arm64-v8a
  • a) Configuration for develop build:
$QT_CMAKE \
	-DANDROID_SDK_ROOT=$ANDROID_SDK \
	-DANDROID_NDK_ROOT=$ANDROID_NDK \
	-DANDROID_ABI=arm64-v8a \
	-DANDROID_PLATFORM=android-33 \
	-S . -B ./build \
	-GNinja
  • b) Configuration for release build:

Set and export signing variables in the same terminal where the build will run:

export QT_ANDROID_KEYSTORE_PATH="/path/to/upload.keystore"
export QT_ANDROID_KEYSTORE_ALIAS="upload"

read -rsp "Keystore password: " QT_ANDROID_KEYSTORE_STORE_PASS
printf '\n'
export QT_ANDROID_KEYSTORE_STORE_PASS

read -rsp "Key password: " QT_ANDROID_KEYSTORE_KEY_PASS
printf '\n'
export QT_ANDROID_KEYSTORE_KEY_PASS

Run configuration command:

$QT_CMAKE \
	-DANDROID_SDK_ROOT=$ANDROID_SDK \
	-DANDROID_NDK_ROOT=$ANDROID_NDK \
	-DANDROID_ABI=arm64-v8a \
	-DANDROID_PLATFORM=android-33 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_CXX_FLAGS_RELEASE="-O2 -DNDEBUG" \
	-DQT_ANDROID_SIGN_APK=ON \
	-S . \
	-B ./build \
	-GNinja
  1. Build
make
  1. Install via adb
make install
  1. Run via adb
./build/tracker

About

Android app for tracking activities in board game Unmatched

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors