Build a qmake compatible with android kit on qt creator
-
I've downloaded the qt 5.15.2 from
https://download.qt.io/official_releases/qt/5.15/5.15.2/single/
and build it but the exported qmake wasn't compatible with ndk (21.3.<some latest version>) clang compiler
Error is :
The compiler X cannot produce code for Qt version 5.15.2In parenthesis I've exported an APK via 5.12 qt which was installed by qtcreator but I want to use 5.15.2
my 5.15.2 qt version is compatible with gcc but not ndk clang why?
The reason I migrate from 5.12 to 5.15 is to use QMediaRecorder which wasn't working in Qt 5.12
-
Use Qt installer, it contains 5.15.2 already compiled for Android.
and build it
How did you build it?
my 5.15.2 qt version is compatible with gcc but not ndk clang why?
It most definitely is compatible with clang. You've probably misconfigured Qt or something.