Package Details: android-aarch64-qt5 5.13.0-2

Git Clone URL: (read-only)
Package Base: android-aarch64-qt5
Description: Qt 5 for Android
Upstream URL:
Licenses: GPL3, LGPL
Groups: android-qt5
Submitter: hipersayan_x
Maintainer: hipersayan_x
Last Packager: hipersayan_x
Votes: 9
Popularity: 0.004909
First Submitted: 2018-11-22 19:14
Last Updated: 2019-07-23 21:23

Dependencies (18)

Required by (1)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

SparseMind commented on 2018-11-30 16:21

Hi! When I build apk file - all build is OK! But when I try to load apk to my device, I get the following errors:

adb: failed to install /home/build-TestProject-Android_arm64_v8a_GCC_4_9_Qt_Qt_5_11_2_aarch64-Debug/android-build//build/outputs/apk/android-build-debug.apk: Installing to device failed!

Installing Android package to device.

Running command "/opt/android-sdk/platform-tools/adb -s 94623533 install -r /home/build-TestProject-Android_arm64_v8a_GCC_4_9_Qt_Qt_5_11_2_aarch64-Debug/android-build//build/outputs/apk/android-build-debug.apk"

Process «/opt/android-libs/aarch64/bin/androiddeployqt» exit with code 16.

What is wrong now?) Please help me!)

hipersayan_x commented on 2018-11-28 20:59

Also a too late response but maybe useful still. For those having the library linking errors as Emeric said, in the Build Environment set ANDROID_NDK_PLATFORM=android-X where X is the minimum platform configured when building the android-*-qt5 packages.

hipersayan_x commented on 2018-11-28 20:52

It may be working now.

SparseMind commented on 2018-11-28 17:13

Yes, that's it. I'll wait while you check. Before the change of the paths everything was going without any errors.

hipersayan_x commented on 2018-11-28 12:35

Oh I understand, the PKGBUILD build ok, but when building your app and making the Android APK, it give you the error message, right? let me check.
Your environment seems to be ok.

SparseMind commented on 2018-11-28 04:30

I deleted everything and rebuilt the package. When trying to compile the result is the same =( QtCreator show this information about Qt 5.11.2 (aarch64):

QMAKE_SPEC linux-g++


QMAKE_XSPEC android-clang

QT_HOST_BINS /opt/android-libs/aarch64/bin

QT_HOST_DATA /opt/android-libs/aarch64/lib/qt

QT_HOST_LIBS /opt/android-libs/aarch64/lib

QT_HOST_PREFIX /opt/android-libs/aarch64

QT_INSTALL_ARCHDATA /opt/android-libs/aarch64/lib/qt

QT_INSTALL_BINS /opt/android-libs/aarch64/bin

QT_INSTALL_CONFIGURATION /opt/android-libs/aarch64/etc/xdg

QT_INSTALL_DATA /opt/android-libs/aarch64/share/qt

QT_INSTALL_DEMOS /opt/android-libs/aarch64/share/qt/examples

QT_INSTALL_DOCS /opt/android-libs/aarch64/share/qt/doc

QT_INSTALL_EXAMPLES /opt/android-libs/aarch64/share/qt/examples

QT_INSTALL_HEADERS /opt/android-libs/aarch64/include

QT_INSTALL_IMPORTS /opt/android-libs/aarch64/lib/qt/imports

QT_INSTALL_LIBEXECS /opt/android-libs/aarch64/lib/qt/libexec

QT_INSTALL_LIBS /opt/android-libs/aarch64/lib

QT_INSTALL_PLUGINS /opt/android-libs/aarch64/lib/qt/plugins

QT_INSTALL_PREFIX /opt/android-libs/aarch64

QT_INSTALL_QML /opt/android-libs/aarch64/lib/qt/qml

QT_INSTALL_TESTS /opt/android-libs/aarch64/share/qt/tests

QT_INSTALL_TRANSLATIONS /opt/android-libs/aarch64/share/qt/translations



hipersayan_x commented on 2018-11-27 19:06

SparseMind, plugins folder is now located at /opt/android-libs/aarch64/lib/qt/plugins, maybe you are rebuilding the package from a previous build? try removing the pkg and src folders and build the package again.

SparseMind commented on 2018-11-27 01:41

Hi, I have the following error when I try to build android package:

readelf: Error: '/opt/android-libs/aarch64/plugins/platforms/android/': No such file

readelf: Error: '/opt/android-libs/aarch64/plugins/bearer/': No such file

readelf: Error: '/opt/android-libs/aarch64/plugins/bearer/': No such file

readelf: Error: '/opt/android-libs/aarch64/plugins/platforms/android/': No such file

readelf: Error: '/opt/android-libs/aarch64/plugins/platforms/android/': No such file

readelf: Error: '/opt/android-libs/aarch64/plugins/platforms/android/': No such file

readelf: Error: '/opt/android-libs/aarch64/plugins/bearer/': No such file

qmlimportscanner: No such file or directory: "/opt/android-libs/aarch64/qml" Invalid json output from qmlimportscanner.

What is wrong? How to fix this problem?

Qt Creator 4.8.0-beta1 (4.7.82)

Qt 5.11.2

hipersayan_x commented on 2018-11-19 21:13

From now on, android-qt5-* will have the following file structure:


The purpose of this change is to coexist with other 3rd-party Android libraries, and create an homogeneous development environment. More changes would come in the future in order to improving the situation.

Apologies for the inconvenience caused.

Emeric commented on 2018-09-10 13:16

Hi, I've been using the armeabi-v7a Qt package with great success but I could never get this one to work. Has someone ever been able to use it?

I have multiple build failures all related to missing standard functions (these functions are in use inside Qt and its public headers, not even in my app): /opt/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/cmath:1118:11: error: '::log2' has not been declared using ::log2;

As far as I understand, the armv8 binaries are better supported by the clang/libc++ toolchain than the 'old' gcc/libstdc++ toolchain. I tried to rebuild this package using "-xplatform android-clang", and it worked, Qt projects now build but they still can't link with any libraries: /opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find crtbegin_so.o: No such file or directory /opt/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find -lGLESv2

Any ideas? Thanks!