Unable to build herelink-qgroundcontrol

I’m trying to build herelink qgroundcontrol pulled from this github repo: https://github.com/CubePilot/qgroundcontrol-herelink

As mentioned in its README, we need to use qt 5.11.0 alongwith Android NDK version 15c.

My QT settings are the same but i’m getting this error:

make: echo: Command not found make: *** [moc/moc_predefs.h] Error 127 17:57:11: The process "/home/aifi/Android/Sdk/ndk/android-ndk-r15c/prebuilt/linux-x86_64/bin/make" exited with code 2. Error while building/deploying project qgroundcontrol (kit: Clone of Android Qt 5.11.0 Clang armeabi-v7a) When executing step "Make"

I’ve been tryiong to resolve this error but got no luck.
Please help me if anybody has successfully built herelink-qgroundcontrol app for android.

Your time is very much appreciated. Thanks alot!

few screenshots of my QT settings

given the error message
Command not found make

install make

I surely have make installed. I’ve double checked it too.
I can successfully build QGC v3.5.6 for android using the same QT kit.
Just for herelink-qgroundcontrol I’m getting this error (Adding screenshot to make it more readable.


It finally worked! I had to uncheck the ‘Clean System Environment’ checkbox in the project Build settings.