Qt creator doesn't open terminal anymore on macOS Monterey.
-
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"
@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..."
-
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,,, -
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. -
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 :-)@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.@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!!
-
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.