[Interest] Android NDK with clang for 5.12.0?

Filip Piechocki fpiechocki at gmail.com
Tue Dec 18 12:29:24 CET 2018


Hi,
Yes, we are building Qt 5.12.0 and 5.11.2 with android-clang with NDK
installed via Android SDK (or Android Studio) so the location is
/opt/Android/ndk-bundle. Here is my configure line from building Qt
5.12.0-rc:
./configure -opensource -confirm-license -prefix
/opt/qt/5.12-rc-android-clang -xplatform android-clang -make libs
-android-sdk /opt/Android -android-ndk /opt/Android/ndk-bundle
-android-ndk-host linux-x86_64 -android-toolchain-version 4.9
-android-arch armeabi-v7a -android-ndk-platform android-24

BR,
Filip

On Tue, Dec 18, 2018 at 12:23 PM René Hansen <renehh at gmail.com> wrote:
>
> Hi all,
>
>
> So I'm finally trying to make the jump from 5.11 to 5.12 and also upgrade from ndk r10e, but I've yet to get the setup correct.
>
> This says to just use the "latest" with android-clang toolchain, but not much else.
>
> http://doc.qt.io/qt-5/android-getting-started.html
>
> However, just updating Android NDK Location, to point to e.g. r16b doesn't seem to work. I keep getting:
>
> "No compiler can produce code for this Qt version. Please define one or more compilers for:"
>
> I've tried r18b as well.
>
> Has anyone else successfully gotten this to work?
>
>
> /René
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest



More information about the Interest mailing list