Skip to content

LightZam/Qt-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Qt arm64-v8a library

This repository keep Qt's arm64-v8a binary, you can just download to your location and use it.

Build arm64-v8a yourself

mac version

you can remove -skip or -no-* options, if you need to keep the library
git clone git://code.qt.io/qt/qt5.git qt5
cd qt5
perl init-repository

./configure \
-confirm-license \
-opensource \
-xplatform android-g++ \
-nomake tests \
-nomake examples \
-android-ndk /usr/local/Cellar/android-ndk/r10e \
-android-sdk ~/Documents/android-sdk-macosx \
-android-ndk-host darwin-x86_64 \
-android-toolchain-version 4.9 \
-android-arch arm64-v8a \
-android-ndk-platform android-21 \
-skip qtdeclarative \
-skip qttranslations \
-skip qtserialport \
-no-warnings-are-errors \
-no-compile-examples \
-no-sql-mysql \
-no-sql-psql \
-prefix ~/Documents/Qt/android_arm64-v8a \
-openssl \
-I /usr/local/Cellar/openssl/1.0.2k/include -L /usr/local/Cellar/openssl/1.0.2k/lib

make -j4
make -j4 install

if you are linux or windows, change -android-ndk-host to your platform setting

You must use android r10e NDK, because other version will cause bug

Change Qt Library location by qt.conf

  • Add qt.conf to Qt/android_arm64-v8a/bin/qt.conf
  • You will be allowed to move library everywhere since you put this file.
[Paths]
Prefix: {the path you want}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published