PDA

View Full Version : Qt Creator Not able to start qt debugger in Ubuntu



bakul2331
28th June 2010, 06:40
Hi ,

I have installed Qt in ubuntu (Linux). I am able to compile and run Qt application but when I start debugger it gives error. I have attached snapshot of error.

Can anybody help me?

Thanks in Advance.

Regards,
Bakul

lyuts
2nd July 2010, 12:29
Go to Projects->Run Settings and make sure you specified the binary you want to debug.

bakul2331
4th July 2010, 19:27
Hi,

Yes, I can see that binary which I want to debug is specified in Projects->Run Settings.
But now I am getting some different error than previous one. ( "During startup program exited with code 127"). I don't know why error type changed.

RdN
15th July 2010, 09:19
Hi,

I got the same problem, when I run the program it works fine but as soon as I try to debug it get ... program excited with code 127.

I reinstalled the binary, this time using sudo eg. 'sudo ./qt-sdk-linux-x86-opensource-2010.02.bin' and then it worked correctly.

I suspect one must use sudo to enable 'write access' for the installation to setup the proper shared object links.