Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-10626

Qt Creator not redirecting the std::cout, std::cerr or std::clog outputs to Qt Creator application output when debugging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 3.0.0-rc1, Qt Creator 3.5.0-rc1, Qt Creator 4.5.0-rc1
    • Debugger
    • Windows 7

    Description

      Whenever I build the project with MSVC2013 (x64) compiler and run it through the debugger std::cout, std::cerr and std::clog are not properly redirected to the application output. Those streams are redirected normally if debugger is not attached. I haven't tried with any other compilers so it could technically be MSVC2013 only bug. On the other hand there is a question on stackoverflow.com about the same problem: http://stackoverflow.com/questions/17389157/no-application-output-in-qtcreator-debug

      I've managed to build Qt5 with MSVC2013 doing only cosmetic changes to the source code. The changes are listed here http://stackoverflow.com/questions/18080625/qt-4-8-visual-studio-2012-compiling-error on FromHeartToSun's reply. I know this is not officially supported (yet) but I still decided to post this bug report here, remove it and please inform me about it if it is not appropriate.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              davschul David Schulz
              azyr Sebastian Jylanki
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes