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.
-
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 5.12 requieres at least ndk-r18b (IIRC)
also you need to completely delete and rebuild your shadow build folder after changing the ndk -
@J-Hilk oh thanks i did not know that thanks!
I think I am getting closer or not ... now i have 11 Errors:
skipping incompatible /home/me/Qt/5.12.2/android_armv7/lib/(11 libs here)
-
@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
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 -
@J-Hilk After updating and reinstalling basically everything it is working now ... I dont exactly know why but it does.
Thank you very much for your help!