Code::Blocks Forums
User forums => Help => Topic started by: rickg22 on May 28, 2009, 04:29:39 am
-
Hi. I'm trying to figure out what went wrong here.
I'm building a Qt4 application. The application runs fine when being called from the commandline.
However, if I execute it from within C::B (rev. 5266, from debian/mepis repo), the application just sits there, and C::B tells me that it's still running. Only if I quit C::B, the application quits. Otherwise it's sitting right there in the process table.
Any ideas of what might be happening? Is it a known C::B bug, or is it my app?
Notice that my app also writes to stdout.
-
Any ideas of what might be happening? Is it a known C::B bug, or is it my app?
Never heard of such. Can you create a minimal sample, probably?
-
Grrr... I can't create a minimal sample. So it must be my program. But why does it only happen with C::B and not when being run from the shell?
Edit: When I changed the application type from the project properties from "GUI Application" to "Console Application", the program no longer hangs on exit! Any ideas?
-
Grrr... I can't create a minimal sample. So it must be my program. But why does it only happen with C::B and not when being run from the shell?
Any of this mystic LD_LIBRARY_PATH issue? Can you prompt the env-vars in question from within your app when running in a console and running in C::B? Probably you see any difference?!
-
Hmmm. I'll investigate further. Thanks for the help.