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}
-recheck-all
-optimized-qmake
This comes from the link mentioned by Martchus (last message)
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.