Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt creator doesn't open terminal anymore on macOS Monterey.
Forum Updated to NodeBB v4.3 + New Features

Qt creator doesn't open terminal anymore on macOS Monterey.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
14 Posts 9 Posters 2.9k Views
  • 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
    sepi
    wrote on 24 Feb 2022, 14:27 last edited by
    #1

    What should I do?

    My QT Creator does not open terminal window anymore when I build and Run application (non QT project -> Plain C++ Application). In the past like 3 months ago everything worked just fine.

    When I run it via application output it prints "hello world".
    I can run applications via terminal if I navigate trough folders to the build folder.

    J 1 Reply Last reply 24 Feb 2022, 14:30
    2
    • S sepi
      24 Feb 2022, 14:27

      What should I do?

      My QT Creator does not open terminal window anymore when I build and Run application (non QT project -> Plain C++ Application). In the past like 3 months ago everything worked just fine.

      When I run it via application output it prints "hello world".
      I can run applications via terminal if I navigate trough folders to the build folder.

      J Offline
      J Offline
      J.Hilk
      Moderators
      wrote on 24 Feb 2022, 14:30 last edited by
      #2

      @sepi I the project settings, click on run (it should be on build) and check the checkbox besides "Run in terminal"


      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.

      S 1 Reply Last reply 25 Feb 2022, 07:19
      0
      • S Offline
        S Offline
        sepi
        wrote on 25 Feb 2022, 07:03 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • J J.Hilk
          24 Feb 2022, 14:30

          @sepi I the project settings, click on run (it should be on build) and check the checkbox besides "Run in terminal"

          S Offline
          S Offline
          sepi
          wrote on 25 Feb 2022, 07:19 last edited by
          #4

          @J-Hilk Yes I have checked that and there is mark under that checkbox but still no terminal window.

          This seems to be some kind of mystery problem because I think Qt creator thinks it's opening the terminal window. When I press the run button the Application Output window show line with text "Starting users/.../.../project1..."

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Marena
            wrote on 28 Mar 2022, 18:33 last edited by
            #5

            I have the same issue, after updating XCode and qt creator - it doesn't open terminal any more, even checkbox is marked.

            1 Reply Last reply
            0
            • T Offline
              T Offline
              TheProg
              wrote on 7 Apr 2022, 13:33 last edited by
              #6

              I have the same issue on macOS 12.3 and Qt Creator 7

              1 Reply Last reply
              0
              • S Offline
                S Offline
                shengdong
                wrote on 12 Apr 2022, 12:49 last edited by
                #7

                there is the same issue after updating XCode and Qt Creator and the cin operator doesn't work

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  hskoglund
                  wrote on 12 Apr 2022, 14:23 last edited by hskoglund 4 Dec 2022, 14:27
                  #8

                  Hi, can confirm this is a bug in Qt Creator 7, they've changed the way they launch your Qt app on Monterey, using a new tool called disclaim in the Qt Creator.app/Contents/Resources/libexec folder. That same tool is used for launching gui apps so it works for them but alas not for terminal-flavored ones :-(
                  If someone has the energy to create a bugreport please,,,

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    AL49
                    wrote on 15 Apr 2022, 02:07 last edited by
                    #9

                    I have the same issue with macOS 12.3.1 without updating XCode (still 12.5.1) nor Qt (6.2.2)
                    It worked fine under macOS 12.1, perhaps (i'm not sure) macOS 12.2
                    => for me the problem seems to be with macOS 12.3 or 12.3.1. Updating to XCode 13.3.1 and Qt 6.3.0 does't solve the problem.

                    M 1 Reply Last reply 19 Apr 2022, 10:48
                    0
                    • H Offline
                      H Offline
                      hskoglund
                      wrote on 15 Apr 2022, 03:21 last edited by
                      #10

                      The bug seems only connected to what version of Qt Creator you are using. I did not have this problem before I upgraded from Qt Creator 6.0.0 to Qt Creator 7.0.0.

                      But there's good news! I suspect this is a known bug so I tested version 7.0.1 from the snapshot downloads,I installed from the .dmg available here: https://download.qt.io/snapshots/qtcreator_qt5/7.0/7.0.1/134/
                      Voila the bug is gone and a Terminal opens :-)

                      A 1 Reply Last reply 15 Apr 2022, 08:37
                      1
                      • H hskoglund
                        15 Apr 2022, 03:21

                        The bug seems only connected to what version of Qt Creator you are using. I did not have this problem before I upgraded from Qt Creator 6.0.0 to Qt Creator 7.0.0.

                        But there's good news! I suspect this is a known bug so I tested version 7.0.1 from the snapshot downloads,I installed from the .dmg available here: https://download.qt.io/snapshots/qtcreator_qt5/7.0/7.0.1/134/
                        Voila the bug is gone and a Terminal opens :-)

                        A Offline
                        A Offline
                        AL49
                        wrote on 15 Apr 2022, 08:37 last edited by
                        #11

                        @hskoglund
                        You are right, congratulations it is the solution. Thank you so much !!!

                        S 1 Reply Last reply 16 Apr 2022, 07:24
                        0
                        • A AL49
                          15 Apr 2022, 08:37

                          @hskoglund
                          You are right, congratulations it is the solution. Thank you so much !!!

                          S Offline
                          S Offline
                          shengdong
                          wrote on 16 Apr 2022, 07:24 last edited by
                          #12

                          @AL49
                          there is no problem in Qt Creator 7.0.1?

                          1 Reply Last reply
                          0
                          • A AL49
                            15 Apr 2022, 02:07

                            I have the same issue with macOS 12.3.1 without updating XCode (still 12.5.1) nor Qt (6.2.2)
                            It worked fine under macOS 12.1, perhaps (i'm not sure) macOS 12.2
                            => for me the problem seems to be with macOS 12.3 or 12.3.1. Updating to XCode 13.3.1 and Qt 6.3.0 does't solve the problem.

                            M Offline
                            M Offline
                            MaartenLCF
                            wrote on 19 Apr 2022, 10:48 last edited by MaartenLCF
                            #13

                            @AL49 Same here. I upgraded to 12.3.1 yesterday, and now the "run in terminal" does not work anymore, it was fine before. I have Qt Creator 6.0.2 and Qt 6.2.2. Just updated to QtCreator 7.0.0, and nope, still the same. In fact, even Widget Applications only work when "Run in Terminal" is not checked!!

                            1 Reply Last reply
                            0
                            • 0 Offline
                              0 Offline
                              0b_sure
                              wrote on 18 Aug 2023, 18:43 last edited by 0b_sure
                              #14

                              Don't know if this is still an issue but i had the same problem and i think i just solved it.
                              I have Qtcreator version 6.5.2 and MacOS Ventura 13.5.
                              What i did was first of all checking "Run in terminal" under "Projects".
                              Then in Qt Creator "Preferences" -> "Build & Run" -> "Default for "Run in terminal"" selected "Enabled".
                              Finally, also in "Preferences", "Terminal" this time, unchecked "Use internal terminal".
                              Don't know if this is still useful, but couldn't find much on google about this topic just now.

                              1 Reply Last reply
                              4

                              • Login

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