What kinds of problem causes this Message Box with this message: ‘The gdb process exited unexpectedly (code 127)’ after pressing F5 or Start Debugging?
(I run QtCreator not as super user)

when I run QtCreator as Super User I got another message box with this message: The gdb process failed to start. Either the invoked program ‘gdb’ is missing, or you may have insufficient permissions to invoke the program. No such file or directory

When I run following message in terminal
gdb -ex
I get this error
error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
but I have installed libncurses5 , libncursesw5, libncurses5-dev.
What should I do?
I installed the debian’s gdb pachage instead of QtSDK’s gdb binary and the my problem was resolved