[Interest] Android NDK with clang for 5.12.0?

Markus Maier markus.maier.sw at gmail.com
Tue Dec 18 13:27:02 CET 2018


Hi,

which Qt Creator version are you using? The QtC 4.8 release is the first
that can detect the clang toolchain in NDK 18b, and this works fine for me
with prebuilt Qt 5.12 armv7 which was built with clang.

Best regards
Markus

Am Di., 18. Dez. 2018 um 12:54 Uhr schrieb Filip Piechocki <
fpiechocki at gmail.com>:

> 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
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181218/005a6e9d/attachment.html>


More information about the Interest mailing list