Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70243

QtCreator does not show debug output from qcDebug by default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.11.1
    • Core: I/O
    • None
    • linux opensuse 42.3
    • Linux/X11

      I tried debugging or running a Qt5-based test application (https://cgit.kde.org/knewstuff.git/tree/tests/khotnewstuff_upload.cpp) that uses qcDebug with QtCreator (4.7.0). The associated logging category was according to http://doc.qt.io/qt-5/qloggingcategory.html#details activated either with QLoggingCategory::setFilterRules("*.debug=true) or by specifying the environment variable QT_LOGGING_RULES.

      Unfortunately, QtCreator does not display debug output (stderr) from the application. The debug output is only visible if the application was started from a console or if "run in terminal" was checked in the configuration of the Qt Creator project.

      Qt4 applications do not have this problem.

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

            hunger Tobias Hunger
            rhabacker Ralf Habacker
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes