Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QTCreator(2.3.1) Linux doesn't show any program output
QtWS25 Last Chance

QTCreator(2.3.1) Linux doesn't show any program output

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 3.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Meai
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Meai
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved