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

qDebug / console.log output missing on iOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 3.2.2
    • Fix Version/s: Qt Creator 3.3.0-rc1
    • Component/s: iOS Support
    • Labels:
      None
    • Environment:
      Mac OS X 10.10
      Qt Creator 3.2.2 (installed via online installer)
      Qt 5.3
      iOS simulator

      Description

      Possibly introduced with this recent fix: https://bugs.archlinux.org/task/40583

      There is no log output shown in Application Output when using qDebug() << "test" or console.log ("test" ) in a Qt Quick application. The app is run on an iOS simulator on a Mac with OSX 10.10 and the latests version of XCode installed.

      I'd expect something in the output or even in the simulator system.log file, but nothing is shown. I've tried setting QT_LOGGING_TO_CONSOLE=1 environment variable, or adding OUTPUT += Console to my .pro file. I've even tried overriding the default message handlers for the app, but still can't get any logging output. No logs for qDebug(), std::cout or std::cerr is shown.

        Attachments

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

          Activity

            People

            Assignee:
            fawzi Fawzi Mohamed
            Reporter:
            codingcaveman Morne Pistorius
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes