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!
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.