QTCreator(2.3.1) Linux doesn't show any program output
-
Hi, first of all the output is neither shown in debug mode or elsewhere, but for the record it works fine when I do it through the command line. Secondly when I check "Run in terminal", the output is shown in the new popup terminal, but now for some reason when I start debugging I can only step through the disassembly view.
Also I'm getting this warning: &"warning: GDB: Failed to set controlling terminal: Invalid argument\n"Also I'm using a custom build command (http://gittup.org/tup) which is in the path, and the output from that isn't shown in Qtcreator either. "Compile Output" just shows: The process "/home/pc/Programming/tup/tup" exited normally. That's where the build system executable sits.
I have specified the program executable manually in the run settings with the full path.Any ideas how to fix this? Qtcreator is clearly the best C IDE, but I continue to struggle with missing output. I have googled, and many times people said that this was fixed, but it has always been this way for me and continues to be.
-
No idea about the debugging issue you are facing. You might want to "file a bug report":http://bugreports.qt.nokia.com/ for that (at least the assembly-only issue is most likely a bug. From what I understand the "Failed to set controlling terminal" message is harmless.
How do you use this tup thing?
Do you get no output in the compile output pane when running tup? That one should work. Do you get no output in the build issues pane? That I do expect to happen.
-
This seems to be pretty fragile software, I just rearranged my project a little and suddenly I'm getting the compile messages in the "Compile Output" window, which didn't work before. I literally just removed and re-added files in a few new folders.
Printing anything still doesn't work though, I opened a bug. https://bugreports.qt.nokia.com/browse/QTCREATORBUG-6263
tup is just a replacement for make, and I use it in QtCreator by adding a custom command. It works fine. (much faster than 'make' by the way, if you are interested)
Unrelated: Also in the attached sample project I created, I can't even debug for some reason. Must be a bad setup I'm having wow.
-
You should get the tup output in the compile output window. Do you see that?
The build issues will stay empty since creator does not know how to make sense of the output produced by tup.