qmake is using wrong path to clang++
-
Hi,
I am using Qt 5.12.2
when building my android app I get an Error Message:
Cannot run target compiler '/home/me/android-ndk-r10e/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++'
When I look at the path, qmake trys to use clang++ from I not existing folder (llvm does not exist, its called llvm-3.6). I then took a look at the folder specified in the Kit and there the path to the clang++ is set right. Why does it use a different one that the one set in the Kit?
Edit
After adding a manual Kit and new manual clang++ compiler to make sure the paths are right, qmake uses the right compiler but a new error appears:Wrong Format libQt5Quick.so
So I still can not build my application.
-
@Strohhut what is the NDK version you're using?
-
@Strohhut 5.12 requieres at least ndk-r18b (IIRC)
also you need to completely delete and rebuild your shadow build folder after changing the ndk -
@Strohhut
mmh, can you post the actual error message ?
And I would suggest to update to the lastest 5.12 release (5.12.5) if you can -
@Strohhut
no problem, I was close to the end of my suggestions...
So great it's not working !Setting up a working android toolchain can be cumbersome 🙈
Son't forget to use the topic tools to set the topic to solved :)
1/9