2025-02-24 17:20:56 +02:00
2025-02-24 17:20:56 +02:00
2025-02-24 17:20:56 +02:00
2025-02-24 17:20:56 +02:00
2025-02-06 10:10:39 +02:00
2025-02-24 17:20:56 +02:00
2025-01-31 20:36:31 +02:00
2025-02-24 17:20:56 +02:00
2025-02-24 17:20:56 +02:00

IOS

Running the app

Prerequisites:

  • Make sure status-desktop can be built
  • Qt 5.15.2 for IOS
  pip3 install -U pip
  pip3 install aqtinstall
  aqt install-qt mac ios 5.15.2 -O ${QT_INSTALL_DIR}
  ### OR if it fails for arm64
  arch -x86_64 aqt install-qt mac ios 5.15.2 -O ${QT_INSTALL_DIR}/5.15.2/ios

  export QTDIR=${QT_INSTALL_DIR}/5.15.2/ios
  • Python
  • Clone submodules
  git submodule update --init --recursive
  • Xcode
  • Ipad pro simulator

Running the app

  make run

Possible issues

scripts/clangWrap.sh
CMake Error at CMakeLists.txt:36 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

Fix: Make sure the env variable QTDIR points to the qt installation folder

ios/mkspecs/features/uikit/devices.py: /usr/bin/python: bad interpreter: No such file or directory

Fix: Update ios/mkspecs/features/uikit/devices.py header to point to your python installation

    from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'

Fix: pip install setuptools

Simulator device failed to install the application.
The application's Info.plist does not contain a valid CFBundleVersion.
Ensure your bundle contains a valid CFBundleVersion.

Fix: Remove bin/IOS-build.app and run make run

Underlying error (domain=FBSOpenApplicationServiceErrorDomain, code=4):

Fix: In the simulator app choose Device -> Erase all content and settings

Android

Prerequisites:

  • Make sure status-desktop can be built
  • Qt 5.15.2 for Android
  pip3 install -U pip
  pip3 install aqtinstall
  aqt install-qt mac android 5.15.2 -O ${QT_INSTALL_DIR}

  export QTDIR=${QT_INSTALL_DIR}/5.15.2/android
  • Clone submodules
  git submodule update --init --recursive
  • JDK 11
  • Android sdk
  • Android NDK 21.3.6528147
  • Android emulator
  • Android cmd line tools
  • Available AVD image

Note: These prerequisites can be installed with AndroidStudio

Or by using the command line tools

sudo apt install openjdk-11-jdk
sudo apt install google-android-cmdline-tools-13.0-installer
sdkmanager --update
sdkmanager "build-tools;35.0.1" "emulator" "platform-tools" "platforms;android-33" "ndk;21.3.6528147"

# create a new AVD image. Using the template with id 70
avdmanager create avd -n "Test_avd_x64" -k "system-images;android-Baklava;google_apis_playstore;x86_64" -d 70

export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
export ANDROID_HOME=usr/lib/android-sdk
export PATH="$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:/usr/lib/android-sdk/platform-tools:$PATH"
export ANDROID_NDK_HOME=/usr/lib/android-sdk/ndk/21.3.6528147 
export SDK_PATH="$ANDROID_HOME"
# default architecture is arm64-v8a
export ARCH=<android target>

Running the app

  make run

Known issues

PNG files won't be rendered on macos emulator. This can be fixed by setting the software rendered for qt. Add setenv("QT_QUICK_BACKEND", "software", 1); in main.cpp

gradle is crashing sometimes: Make sure there's enough RAM. Sometimes a restart is needed the compiler is sometimes crashing while compiling statusQ: Make sure at least 10GB free RAM is available

S
Description
No description provided
Readme MIT
3.6 MiB
Languages
Shell 58%
Makefile 31.1%
Dockerfile 8.9%
C++ 1.4%
QML 0.6%