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 sepi

    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.HilkJ Offline
    J.HilkJ Offline
    J.Hilk
    Moderators
    wrote on 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
    0
    • S Offline
      S Offline
      sepi
      wrote on last edited by
      #3
      This post is deleted!
      1 Reply Last reply
      0
      • J.HilkJ J.Hilk

        @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 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 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 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 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
              • hskoglundH Offline
                hskoglundH Offline
                hskoglund
                wrote on last edited by hskoglund
                #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 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
                  0
                  • hskoglundH Offline
                    hskoglundH Offline
                    hskoglund
                    wrote on 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
                    1
                    • hskoglundH hskoglund

                      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 last edited by
                      #11

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

                      S 1 Reply Last reply
                      0
                      • A AL49

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

                        S Offline
                        S Offline
                        shengdong
                        wrote on last edited by
                        #12

                        @AL49
                        there is no problem in Qt Creator 7.0.1?

                        1 Reply Last reply
                        0
                        • A AL49

                          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 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 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