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. MacOS Terminal doesnt show in-/output when debugging
Forum Updated to NodeBB v4.3 + New Features

MacOS Terminal doesnt show in-/output when debugging

Scheduled Pinned Locked Moved Unsolved General and Desktop
18 Posts 3 Posters 1.1k Views 3 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.
  • S Offline
    S Offline
    slepp
    wrote on 23 Apr 2021, 07:41 last edited by slepp
    #9

    Yes, same problem :-(

    Screenshot

    S 1 Reply Last reply 23 Apr 2021, 18:51
    0
    • M Offline
      M Offline
      mpergand
      wrote on 23 Apr 2021, 12:31 last edited by mpergand
      #10

      Hi,
      On macOS syslog() must be use:

      #include <syslog.h>
      
      int main(int argc, char *argv[])
      {
          syslog(LOG_ERR,"%s\n","hello");
          return a.exec();
      }
      

      See: Here

      S 1 Reply Last reply 23 Apr 2021, 18:52
      0
      • S slepp
        23 Apr 2021, 07:41

        Yes, same problem :-(

        Screenshot

        S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 23 Apr 2021, 18:51 last edited by
        #11

        @slepp said in MacOS Terminal doesnt show in-/output when debugging:

        Yes, same problem :-(

        Screenshot

        That's not a Qt default application. What I meant a default Qt widget application.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • M mpergand
          23 Apr 2021, 12:31

          Hi,
          On macOS syslog() must be use:

          #include <syslog.h>
          
          int main(int argc, char *argv[])
          {
              syslog(LOG_ERR,"%s\n","hello");
              return a.exec();
          }
          

          See: Here

          S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 23 Apr 2021, 18:52 last edited by
          #12

          @mpergand this is unrelated to the problem at hand. It's the debugging that fails from Qt Creator.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • S Offline
            S Offline
            slepp
            wrote on 24 Apr 2021, 11:20 last edited by
            #13

            @SGaist said in MacOS Terminal doesnt show in-/output when debugging:

            Qt widget application

            Oh sorry, now I tried to create a QT widget application, according to this guideline: https://doc.qt.io/qtcreator/creator-writing-program.html

            When I debug with the terminal, nothing happens in there as well.

            Screenshot

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 24 Apr 2021, 18:59 last edited by
              #14

              Which version of Xcode did you install ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • S Offline
                S Offline
                slepp
                wrote on 26 Apr 2021, 09:02 last edited by
                #15

                I've installed Version12.4 (12D4e)

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 26 Apr 2021, 21:58 last edited by
                  #16

                  Looks like it might a bug.

                  Can you test the current beta version of Qt Creator ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  1
                  • S Offline
                    S Offline
                    slepp
                    wrote on 26 Apr 2021, 22:19 last edited by
                    #17

                    I just tried the same thing under version Qt Creator 4.15.0-rc1 (4.14.84), still the same problem as with Qt Creator 4.14.2 :-(

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 27 Apr 2021, 20:27 last edited by
                      #18

                      Then you should check the bug report system to see if there's something related there.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0

                      18/18

                      27 Apr 2021, 20:27

                      • Login

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