Cross Debug using Qt
I'm trying to cross-debug code on the remote device but is failing with the following error during build process.
make: c: Command not found
make: [main.o] Error 127 (ignored)
make: Wl,-O1: Command not found
make: [moveblocks] Error 127 (ignored)
16:59:20: The process "/usr/bin/make" exited normally.
16:59:20: Elapsed time: 00:00.
This build error is only when i open qt as a superuser. If open with normal privilege I won't get any build error but it fails to launch debug secession and pops error window as
Initial setup fail.Application finished with exit code 127
Also I managed to native-debug as a superuser , but failed to native-debug as normal user with the exit code 127.
Can you please let me know where I'm wrong in cross-debugging?