Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qDebug() output not showing in Console.app
Forum Updated to NodeBB v4.3 + New Features

qDebug() output not showing in Console.app

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 792 Views 1 Watching
  • 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.
  • P Offline
    P Offline
    patrickkidd
    wrote on last edited by
    #1

    The output from my qDebug() calls are not showing up in macOS Console.app. I do get all of the internal macOS calls debugging output for this app, but do not see anything I am printing. Everything in stdout does get printed in Terminal.app when I run the bundle executable directly from there.

    Does anyone know anything about this problem? I need to debug launching the app from double-clicking on an associated file in the Finder, and so I cannot launch he app from the Terminal and am restricted to viewing output from the app bundle from Console.app.

    Thanks!

    https://alaskafamilysystems.com/

    jsulmJ 1 Reply Last reply
    0
    • P patrickkidd

      The output from my qDebug() calls are not showing up in macOS Console.app. I do get all of the internal macOS calls debugging output for this app, but do not see anything I am printing. Everything in stdout does get printed in Terminal.app when I run the bundle executable directly from there.

      Does anyone know anything about this problem? I need to debug launching the app from double-clicking on an associated file in the Finder, and so I cannot launch he app from the Terminal and am restricted to viewing output from the app bundle from Console.app.

      Thanks!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @patrickkidd Do you run debug or release build?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply
      0
      • jsulmJ jsulm

        @patrickkidd Do you run debug or release build?

        P Offline
        P Offline
        patrickkidd
        wrote on last edited by
        #3

        @jsulm said in qDebug() output not showing in Console.app:

        @patrickkidd Do you run debug or release build?

        Both.

        https://alaskafamilysystems.com/

        J.HilkJ 1 Reply Last reply
        0
        • P patrickkidd

          @jsulm said in qDebug() output not showing in Console.app:

          @patrickkidd Do you run debug or release build?

          Both.

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @patrickkidd do you happen do have
          DEFINES += QT_NO_DEBUG_OUTPUT
          in your pro file ?


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          P 1 Reply Last reply
          0
          • J.HilkJ J.Hilk

            @patrickkidd do you happen do have
            DEFINES += QT_NO_DEBUG_OUTPUT
            in your pro file ?

            P Offline
            P Offline
            patrickkidd
            wrote on last edited by
            #5

            @J-Hilk

            @J-Hilk said in qDebug() output not showing in Console.app:

            @patrickkidd do you happen do have
            DEFINES += QT_NO_DEBUG_OUTPUT
            in your pro file ?

            Negative.

            https://alaskafamilysystems.com/

            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