Package Details: android-aarch64-qt5 5.15.2-2

Git Clone URL: https://aur.archlinux.org/android-aarch64-qt5.git (read-only, click to copy)
Package Base: android-aarch64-qt5
Description: Qt 5 for Android
Upstream URL: https://www.qt.io
Licenses: GPL3, LGPL
Groups: android-qt5
Submitter: hipersayan_x
Maintainer: None
Last Packager: hipersayan_x
Votes: 14
Popularity: 0.000000
First Submitted: 2018-11-22 19:14 (UTC)
Last Updated: 2021-03-14 20:01 (UTC)

Dependencies (26)

Sources (4)

Pinned Comments

hipersayan_x commented on 2021-07-07 15:05 (UTC) (edited on 2021-07-07 15:09 (UTC) by hipersayan_x)

I'll drop this package, I been thinking and there are a lot of strong reasons not to waste any time maintaining it.
KDE doesn't provide an easy way to download the entire Qt source code in a single package, like in the official Qt releases.
Also, KDE doesn't provides tagged versions, I've to keep tracking manually the latest commits, or converting it to a git package.
It will require to split this package into 47x4 packages, 47 Qt modules and 4 architectures to maintain, that's 188 packages to maintain, absurd!
Cloning a git repository is slower than just downloading a source package file, making the build even much slower and painful.
Is a lot of work for something that will be dead in 1 year or 2 at most.
Good luck to the one that will step up to take care of this monstrosity, to the rest of developers, don't be lazy and consider switching to Qt6.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

Martchus commented on 2018-11-30 16:24 (UTC)

@SparseMind So the APK it tries to install on your phone has been built correctly and can be found under the location it is looking for it? It tells you which adb command it tries to run. Trying to run it manually would be a starting point for debugging the issue.

SparseMind commented on 2018-11-30 16:21 (UTC) (edited on 2018-11-30 16:22 (UTC) by SparseMind)

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 (UTC)

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 (UTC)

It may be working now.

SparseMind commented on 2018-11-28 17:13 (UTC)

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 (UTC) (edited on 2018-11-28 12:35 (UTC) by hipersayan_x)

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 (UTC) (edited on 2018-11-28 04:31 (UTC) by SparseMind)

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_VERSION 3.1

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

QT_SYSROOT

QT_VERSION 5.11.2

hipersayan_x commented on 2018-11-27 19:06 (UTC)

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 (UTC) (edited on 2018-11-27 01:43 (UTC) by SparseMind)

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

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

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

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

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

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

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

readelf: Error: '/opt/android-libs/aarch64/plugins/bearer/libqandroidbearer.so': 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 (UTC)

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

/opt/android-libs/architecture/bin
/opt/android-libs/architecture/include
/opt/android-libs/architecture/lib
/opt/android-libs/architecture/lib/qt
/opt/android-libs/architecture/share

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.