Qt creator doesn't open terminal anymore on macOS Monterey.
-
wrote on 24 Feb 2022, 14:27 last edited by
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. -
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.@sepi I the project settings, click on run (it should be on build) and check the checkbox besides "Run in terminal"
-
wrote on 25 Feb 2022, 07:03 last edited byThis post is deleted!
-
@sepi I the project settings, click on run (it should be on build) and check the checkbox besides "Run in terminal"
wrote on 25 Feb 2022, 07:19 last edited by@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..."
-
wrote on 28 Mar 2022, 18:33 last edited by
I have the same issue, after updating XCode and qt creator - it doesn't open terminal any more, even checkbox is marked.
-
wrote on 7 Apr 2022, 13:33 last edited by
I have the same issue on macOS 12.3 and Qt Creator 7
-
wrote on 12 Apr 2022, 12:49 last edited by
there is the same issue after updating XCode and Qt Creator and the cin operator doesn't work
-
wrote on 12 Apr 2022, 14:23 last edited by hskoglund 4 Dec 2022, 14:27
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,,, -
wrote on 15 Apr 2022, 02:07 last edited by
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. -
wrote on 15 Apr 2022, 03:21 last edited by
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 :-) -
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 :-)wrote on 15 Apr 2022, 08:37 last edited by@hskoglund
You are right, congratulations it is the solution. Thank you so much !!! -
@hskoglund
You are right, congratulations it is the solution. Thank you so much !!! -
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.wrote on 19 Apr 2022, 10:48 last edited by MaartenLCF@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!!
-
wrote on 18 Aug 2023, 18:43 last edited by 0b_sure
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.