Unsolved "Qt Quick Application - Empty" compile error
-
- 5.12.0
- by MaintenanceTool
- elementaryOS
- Android GCC (C++, i686-49)
-
You're cross-compiling for Android ?
If so, which NDK did you install ?
-
@SGaist
android-ndk-r18-linux-x86_64I also have Android Studio installed
-
r18
did come with a lot of modification that made 3dparty fail to build. Either use the version recommend by the documentation (i.e. r10e) or version 17 at this time which seems to be usable. -
@SGaist
Changing to r10e didn't fix the problem, errors are the same. -
Did you nuke the build folder after changing the NDK ?
-
@SGaist
New error:Project ERROR: Cannot run target compiler '.../android-ndk-r10e/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++'. Output: =================== /bin/sh: 1: .../android-ndk-r10e/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++: not found =================== Maybe you forgot to setup the environment? Error while parsing file .../someProject.pro. Giving up.
This is toolchains directory:
-
Did you fiddle with the settings ? You should be using gcc.
-
@SGaist
No, I didn't. So, how to repair this? -
Check your Qt for Android Kit to see what compiler is selected and change to gcc