Package Details: android-aarch64-qt5 5.15.2-2

Git Clone URL: (read-only, click to copy)
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: 14
Popularity: 0.030251
First Submitted: 2018-11-22 19:14
Last Updated: 2021-03-14 20:01

Dependencies (26)

Required by (1)

Sources (4)

Latest Comments

1 2 3 4 5 6 Next › Last »

Martchus commented on 2021-03-09 22:37

At least the switch to CMake seems to ease cross compilation and makes Qt's build less odd compared to other projects. Whether androiddeployqt will work nicely is of course a different story and I haven't tested it yet. That's mainly because Qt 6 is so far quite limited, e.g. kirigami hasn't been ported yet. (By the way, with Qt 6 androiddeployqt is now part of the regular qt6-base package since we don't need to build such tools anymore for each target.)

hipersayan_x commented on 2021-03-09 14:33

@feedc0de will check, I hadn't time to update the package. @Martchus with latest Qt moves I don't trust it much now :-/

Martchus commented on 2021-03-08 10:25

I was able to build 5.15.1 with the version found on my GitHub. However, in the end it was unusable with CMake (without taking a lot of extra effort) so I had to revert to 5.13.1 which seems to be the last good Qt 5 version for Android:
So I wouldn't get my hopes up that this will work nicely.

Btw, I have already added android-aarch64-qt6-base but not really tested it much besides from compiling it. Maybe Qt 6 will work better for our packaging approach.

feedc0de commented on 2021-03-08 10:15

When I try to make this pkg, my compilation fails:

compiling moc.cpp                                                                                                                                                                                                         (4 results) [38/559]
compiling customwidgetsinfo.cpp            
compiling main.cpp                     
compiling provider.cpp
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
make[3]: *** [Makefile:305: .classes] Fehler 2                                                                                                                                                                                                
make[3]: Verzeichnis „/tmp/trizen-feedc0de/android-aarch64-qt5/src/qt-everywhere-src-5.15.1/qtbase/src/network/android/jar“ wird verlassen
make[2]: *** [Makefile:303: sub-network-android-jar-make_first] Fehler 2                                                                                                                                                                      
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet....
compiling preprocessor.cpp                                                                                                                                                                                                                    
error: Source option 6 is no longer supported. Use 7 or later.                                                        
error: Target option 6 is no longer supported. Use 7 or later.
make[4]: *** [Makefile:334: .classes] Fehler 2                                                                         
make[4]: Verzeichnis „/tmp/trizen-feedc0de/android-aarch64-qt5/src/qt-everywhere-src-5.15.1/qtbase/src/android/jar“ wird verlassen
make[3]: *** [Makefile:49: sub-jar-make_first-ordered] Fehler 2
make[3]: Verzeichnis „/tmp/trizen-feedc0de/android-aarch64-qt5/src/qt-everywhere-src-5.15.1/qtbase/src/android“ wird verlassen
make[2]: *** [Makefile:801: sub--tmp-trizen-feedc0de-android-aarch64-qt5-src-qt-everywhere-src-5-15-1-qtbase-src-android-make_first] Fehler 2

a quick google search tells me it has to do with maven, but I have no idea what to change or why it happens.

pacorrop commented on 2020-05-24 22:21

I managed to get CMake projects working when building. I cannot tell a proper way about how to do it yet, as I did so many manual tweaks that it is not worth to put them here.

But in order to Qt to generate the *.cmake files from all its modules, it is possible to (remove first your previous src folder) build this package specifying the same ABI in a duplicate manner:

    diff --git a/PKGBUILD b/PKGBUILD
    index 06459a8..77033c0 100644
    --- a/PKGBUILD
    +++ b/PKGBUILD
    @@ -134,7 +135,7 @@ build() {
             -android-sdk ${ANDROID_HOME}
             -android-ndk ${ANDROID_NDK_HOME}
             -android-ndk-host linux-x86_64
    -        -android-abis ${ANDROID_ABI}
    +        -android-abis ${ANDROID_ABI},${ANDROID_ABI}
             -android-ndk-platform ${ANDROID_NDK_PLATFORM}

This comes from the link mentioned by Martchus (last message)

Emeric commented on 2020-04-16 15:59

Rebuilding Qt with the internal libjpeg by changing the configue_opts of the PKGBUILD is your best bet I think.

MichaelS commented on 2020-04-08 19:08

Loading jpeg file doesn't work for me, because apk file doesn't contain the jpeg plugin. I'm not very familiar with android building process. How can I include the jpeg plugin into the deployment process?

Emeric commented on 2020-02-27 15:01

By the way I never got back to you on the image plugins because... Qt 5.14 just doesn't build my android projects anymore... Qt 5.14.1 also stopped building my iOS projects ^^

hipersayan_x commented on 2019-12-26 15:09

Their latest improvements are not really improvements...

I feel the same :-/

Martchus commented on 2019-12-24 13:33

Seems like half of the CMake configuration files are now missing. Their latest improvements are not really improvements...

At least the bug is already tracked upstream:

This change might fix the problem: