I am facing an error when I tried to run ROS commands from qtquick appliction using system function in c++. Where as when i run some other simple cpp file consisting
system("roscore")
it did work . But when i ran same function in qt app,
I got the following error
sh: 1: roscore: not found
So can anyone tell me what to do??
Edit : Link to code on github