Skip to content

sithlord48/AtCore-app

 
 

Repository files navigation

AtCore-Gui

export ANDROID_NDK=/opt/android-ndk/
# note the _ROOT postfix here, different pattern
export ANDROID_SDK_ROOT=/opt/android-sdk/
export Qt5_android=/opt/android-qt5/5.9.1/armeabi/
export PATH=/opt/android-sdk/platform-tools/:$PATH
# adapt the following path to your ant installation
export ANT=/usr/bin/ant
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/

cmake ../AtCore-Gui \
    -DCMAKE_TOOLCHAIN_FILE=/usr/share/ECM/toolchain/Android.cmake \
    -DECM_ADDITIONAL_FIND_ROOT_PATH=/opt/android-qt5/5.9.1/armeabi/ \
    -DCMAKE_MODULE_PATH=/opt/android-qt5/5.9.1/armeabi/lib/cmake/ \
    -DCMAKE_PREFIX_PATH=/opt/android-qt5/5.9.1/armeabi/lib/ \
    -DCMAKE_INSTALL_PREFIX=/mnt/hd/kirigami-install/ \
    -DECM_DIR=/usr/share/ECM/cmake/ \
    -DCMAKE_SYSTEM_NAME="Android" \
    -DCMAKE_ANDROID_NDK=/opt/android-ndk/ \
    -DQt5Core_DIR=/opt/android-qt5/5.9.1/armeabi/lib/cmake/Qt5Core/ \
    -DQTANDROID_EXPORTED_TARGET=atcore-gui -DANDROID_APK_DIR=/home/patrick/git/patrick/AtCore-Gui/

make create-apk-atcore-gui

./atcore-gui_build_apk/build/outputs/apk/atcore-gui_build_apk-debug.apk

#Debug logcat via adb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 51.5%
  • QML 44.3%
  • CMake 4.2%