PDA

View Full Version : Cannot change to working directory



knobby67
26th August 2014, 11:35
Hi All,
I'm writing code to control a simple socket server. So I click to set up a console project and do a simple qDebug hello world. However when I try to run it just appears to drop out. I've tried setting a break point, this just drops out without reaching the breakpoint. But this is really mad, if I cd into the directory and try the exe it appears to work. Can someone advise please, I really don't seem to be able to get this to run or even debug through qt?
Thanks in advance.

ChrisW67
26th August 2014, 21:50
It seems your code is assuming that something can be found in the current working directory and fails poorly when it is not found. The information you have provided does not let us say much more.