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 2019-09-07 18:25 (UTC)

Update my OpenSSL-enabled version to 5.13.1: https://github.com/Martchus/PKGBUILDs/tree/update/qt5/qt5

I configured it now to use system zlib, libpng and libjpeg. This works nicely with your packages for these libraries. I also tested making and running an APK with CMake/androiddeployqt.

For libjpeg a patch is required to enable pkg-config detection (see link above). I guess it can be upsteamed: https://codereview.qt-project.org/c/qt/qtbase/+/273179/1/src/gui/configure.json

Maybe it makes also sense to upstream the other patches?

luntik2012 commented on 2019-04-01 09:26 (UTC) (edited on 2019-04-01 09:26 (UTC) by luntik2012)

android-aarch64-qt5 5.12.2-1  (2019-03-18 17:01)
( Unsupported package: Potentially dangerous ! )
==> android-aarch64-qt5 dependencies:
 - java-runtime-headless-openjdk<=8 (already installed)
 - apache-ant (already installed)
 - android-ndk>=r18.b (already installed)
 - android-platform-22 (already installed)
 - android-sdk-build-tools (already installed)
 - android-sdk-platform-tools (already installed)
 - libgl (already installed) [makedepend]
 - sqlite (already installed) [makedepend]
 - zlib (already installed) [makedepend]
 - python2 (already installed) [makedepend]
 - ruby (already installed) [makedepend]
 - gperf (already installed) [makedepend]
 - libxslt (already installed) [makedepend]
 - fontconfig (already installed) [makedepend]
 - android-sdk<=25.2.5 (building from AUR)


==> Continue building android-aarch64-qt5 ? [Y/n]
==> ---------------------------------------------
==> 
==> Building and installing package
==> Install or build missing dependencies for android-aarch64-qt5:
error: target not found: android-sdk<=25.2.5

hipersayan_x commented on 2018-12-04 15:33 (UTC)

Yep and probably that's the reason because nobody else created that package.

Martchus commented on 2018-12-04 15:08 (UTC) (edited on 2018-12-04 15:09 (UTC) by Martchus)

I have also noticed that the system image is missing. Hence I've been creating https://github.com/Martchus/PKGBUILDs/blob/master/system-image/android-arm64-v8a/PKGBUILD

It actually worked but it was slow as hell. So I'd rather continued my testing on real hardware. Or, alternatively, build everything for x86_64 which should run faster as no CPU emulation is needed.

hipersayan_x commented on 2018-12-04 15:03 (UTC) (edited on 2018-12-04 15:04 (UTC) by hipersayan_x)

Also the android-arm64-v8a-system-image package is missing in AUR, this is the image that can run the aarch64 packages, the selection for the arch name for the packages was wrong too.
And Qt Creator expect the add-ons to be located in /opt/android-sdk/add-ons/addon-google_apis-google-24 but android-google-apis changed the path to /opt/android-sdk/add-ons/addon-google_apis-google_inc-24_.
We need a serious reorganization of the packages :-/

hipersayan_x commented on 2018-12-04 14:51 (UTC)

The androiddeployqt ignored the path changes and as result it failed to copy the required plugins and qml files to launch the apk, the /opt/android-libs/*/jar files may also be missing.
I think we need to figure out how androiddeployqt solve the dependencies and assemble the apk, and then apply the proper patches.

SparseMind commented on 2018-12-03 05:02 (UTC) (edited on 2018-12-03 05:03 (UTC) by SparseMind)

I get this error after run apk-file on my device:

E nd.TestProject: No implementation found for int[] org.qtproject.qt5.android.ExtractStyle.extractNativeChunkInfo20(long) (tried Java_org_qtproject_qt5_android_ExtractStyle_extractNativeChunkInfo20 and Java_org_qtproject_qt5_android_ExtractStyle_extractNativeChunkInfo20__J)
W System.err: java.lang.reflect.InvocationTargetException
W System.err:   at java.lang.reflect.Method.invoke(Native Method)
W System.err:   at org.qtproject.qt5.android.bindings.QtLoader.loadApplication(QtLoader.java:241)
W System.err:   at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:704)
W System.err:   at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:183)
W System.err:   at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:266)
W System.err:   at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:273)
W System.err:   at android.app.Activity.performCreate(Activity.java:7145)
W System.err:   at android.app.Activity.performCreate(Activity.java:7136)
W System.err:   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
W System.err:   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2895)
W System.err:   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3050)
W System.err:   at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
W System.err:   at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
W System.err:   at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
W System.err:   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1810)
W System.err:   at android.os.Handler.dispatchMessage(Handler.java:106)
W System.err:   at android.os.Looper.loop(Looper.java:193)
W System.err:   at android.app.ActivityThread.main(ActivityThread.java:6685)
W System.err:   at java.lang.reflect.Method.invoke(Native Method)
W System.err:   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
W System.err:   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:859)
W System.err: Caused by: java.lang.UnsatisfiedLinkError: No implementation found for int[] org.qtproject.qt5.android.ExtractStyle.extractNativeChunkInfo20(long) (tried Java_org_qtproject_qt5_android_ExtractStyle_extractNativeChunkInfo20 and Java_org_qtproject_qt5_android_ExtractStyle_extractNativeChunkInfo20__J)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.extractNativeChunkInfo20(Native Method)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.findPatchesMarings(ExtractStyle.java:810)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1150)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.extractViewInformations(ExtractStyle.java:1254)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.extractTextAppearanceInformations(ExtractStyle.java:1347)
W System.err:   at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:2025)
W System.err:   at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:608)
W System.err:   ... 21 more

Martchus commented on 2018-12-02 21:00 (UTC)

@SparseMind I found what was preventing the startup in my case: https://github.com/hipersayanX/pkgbuild-android-qt5/issues/1

Maybe it is the same issue in your case.

Martchus commented on 2018-12-02 20:01 (UTC) (edited on 2018-12-02 20:24 (UTC) by Martchus)

@SparseMind What error do you get? I also can't run an APK created with the latest version. adb logcat gives the following hint:

12-02 20:27:56.400 31466 31466 E passwordmanage: No implementation found for void org.qtproject.qt5.android.QtNative.handleOrientationChanged(int, int) (tried Java_org_qtproject_qt5_android_QtNative_handleOrientationChanged and Java_org_qtproject_qt5_android_QtNative_handleOrientationChanged__II)
12-02 20:27:56.400 31466 31466 W System.err: java.lang.reflect.InvocationTargetException
12-02 20:27:56.401 31466 31466 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
12-02 20:27:56.401 31466 31466 W System.err:    at org.qtproject.qt5.android.bindings.QtLoader.loadApplication(QtLoader.java:247)
12-02 20:27:56.401 31466 31466 W System.err:    at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:704)
12-02 20:27:56.402 31466 31466 W System.err:    at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:183)
12-02 20:27:56.402 31466 31466 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:266)
12-02 20:27:56.402 31466 31466 W System.err:    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:273)
12-02 20:27:56.402 31466 31466 W System.err:    at android.app.Activity.performCreate(Activity.java:7136)
12-02 20:27:56.402 31466 31466 W System.err:    at android.app.Activity.performCreate(Activity.java:7127)
12-02 20:27:56.403 31466 31466 W System.err:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
12-02 20:27:56.403 31466 31466 W System.err:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2906)
12-02 20:27:56.403 31466 31466 W System.err:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3061)
12-02 20:27:56.404 31466 31466 W System.err:    at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
12-02 20:27:56.404 31466 31466 W System.err:    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
12-02 20:27:56.404 31466 31466 W System.err:    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
12-02 20:27:56.404 31466 31466 W System.err:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
12-02 20:27:56.404 31466 31466 W System.err:    at android.os.Handler.dispatchMessage(Handler.java:114)
12-02 20:27:56.404 31466 31466 W System.err:    at android.os.Looper.loop(Looper.java:198)
12-02 20:27:56.404 31466 31466 W System.err:    at android.app.ActivityThread.main(ActivityThread.java:6716)
12-02 20:27:56.404 31466 31466 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
12-02 20:27:56.404 31466 31466 W System.err:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
12-02 20:27:56.404 31466 31466 W System.err:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
12-02 20:27:56.405 31466 31466 W System.err: Caused by: java.lang.UnsatisfiedLinkError: No implementation found for void org.qtproject.qt5.android.QtNative.handleOrientationChanged(int, int) (tried Java_org_qtproject_qt5_android_QtNative_handleOrientationChanged and Java_org_qtproject_qt5_android_QtNative_handleOrientationChanged__II)
12-02 20:27:56.405 31466 31466 W System.err:    at org.qtproject.qt5.android.QtNative.handleOrientationChanged(Native Method)
12-02 20:27:56.405 31466 31466 W System.err:    at org.qtproject.qt5.android.QtActivityDelegate.onCreate(QtActivityDelegate.java:990)
12-02 20:27:56.405 31466 31466 W System.err:    at org.qtproject.qt5.android.QtActivityDelegate.startApplication(QtActivityDelegate.java:919)
12-02 20:27:56.405 31466 31466 W System.err:    ... 21 more

There are further similar errors, eg.:

12-02 20:28:40.110 31531 31552 E passwordmanage: No implementation found for boolean org.qtproject.qt5.android.QtNative.startQtAndroidPlugin(java.lang.String, java.lang.String) (tried Java_org_qtproject_qt5_android_QtNative_startQtAndroidPlugin and Java_org_qtproject_qt5_android_QtNative_startQtAndroidPlugin__Ljava_lang_String_2Ljava_lang_String_2)
12-02 20:28:40.112 31531 31552 E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
12-02 20:28:40.112 31531 31552 E AndroidRuntime: Process: org.martchus.passwordmanager, PID: 31531
12-02 20:28:40.112 31531 31552 E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for boolean org.qtproject.qt5.android.QtNative.startQtAndroidPlugin(java.lang.String, java.lang.String) (tried Java_org_qtproject_qt5_android_QtNative_startQtAndroidPlugin and Java_org_qtproject_qt5_android_QtNative_startQtAndroidPlugin__Ljava_lang_String_2Ljava_lang_String_2)
12-02 20:28:40.112 31531 31552 E AndroidRuntime:        at org.qtproject.qt5.android.QtNative.startQtAndroidPlugin(Native Method)
12-02 20:28:40.112 31531 31552 E AndroidRuntime:        at org.qtproject.qt5.android.QtNative$5.run(QtNative.java:345)
12-02 20:28:40.112 31531 31552 E AndroidRuntime:        at org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
12-02 20:28:40.112 31531 31552 E AndroidRuntime:        at org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
12-02 20:28:40.112 31531 31552 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:764)
12-02 20:28:40.117  1423  4526 W ActivityManager:   Force finishing activity org.martchus.passwordmanager/.Activity

Seems like something is missing in the Java glue code provided by Qt.

SparseMind commented on 2018-12-01 04:18 (UTC)

I started using another USB and now the application is loaded to device correctly. But it crash immideatly after run. Then I try to load apk file to device and to install it manualy. That's ok. But when I try to run this application it crash with error. Then I create empty application using QML and try to do the same. And result was the same. Application crash with error imideatly after I try to run it.