[Interest] Android NDK with clang for 5.12.0?

Filip Piechocki fpiechocki at gmail.com
Tue Dec 18 14:03:17 CET 2018


Didn;t even know that QtCreator can detect NDK and so on as it is
quite simple to add proper Clang and its -target switch (look at
qmake.conf in android-clang mkspec) together with Qt for Android built
with this clang and setup new Kit. It works :)

BR
Filip

On Tue, Dec 18, 2018 at 1:54 PM René Hansen <renehh at gmail.com> wrote:
>
> I think I'd run into one of those spurious QtCreator flakes, so I just nuked everything; all settings etc. and started over. It seems to correctly detect the NDK now.
>
> Thanks again,
>
> /René
>
> On Tue, 18 Dec 2018 at 12:34 ekke <ekke at ekkes-corner.org> wrote:
>>
>> Hi René,
>>
>> Android NDK r18b should work with Qt 5.12.0 and detect clang.
>> (on macOS 10.13.6)
>> Build / Target SDK 28
>>
>> ekke
>>
>> Am 18.12.18 um 12:08 schrieb René Hansen:
>>
>> 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
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest



More information about the Interest mailing list