How to debug 32bit application using 64bit QT
I finally got a 32bit application to compile on my 64bit version of QT.
The application runs fine from the command line.
But when I try to run it from the IDE using the debugger it hang. In the command bar it says "Launching" with the progress bar showing about 10%.
It's odd because if I run the program using "gdb ProgramName" the gdb debugger comes up and runs fine.
I changed the terminal to xterm and it started working...hmm.
Changed Tools->Options->Environment->General->Terminal to:
/usr/bin/xterm -fa 'Monospace' -fs 12 -geometry 120x40 -e
and it started working.
What was it before ?
It was the gnome terminal...don't remember what it was called.
Ok, sounds a bit strange that it fails but there might be gremlins at work there.
Does it work if you start debugging from a gnome terminal ?
I checked it some more and the terminal it was using is 'x-terminal-emulator -e'
And now when I put that back in I get different results, it now says: "Cannot connect creator comm socket /tmp/qt_temp.VY7669/stub-socket: No such file or directory"
Really strange, maybe worth to discuss this on the qt-creator irc channel