[Qt-creator] Can't debug on Mojave with QT Creator 4.9.1

André Pönitz apoenitz at t-online.de
Fri May 31 08:37:09 CEST 2019

On Thu, May 30, 2019 at 03:12:48PM -0700, Simon Gornall via Qt-creator wrote:
> I can't seem to get the debugger to start on my Mac, installed using the Mac installer (open
> source version), when I do click on Debug, it launches a terminal window, which then contains:
> Last login: Thu May 30 12:46:31 on ttys019 source
> /var/folders/ll/jqpkccpn1m91qf41447mdlyh0000gn/T/tmpXAK2Pt simon% source
> /var/folders/ll/jqpkccpn1m91qf41447mdlyh0000gn/T/tmpXAK2Pt Badly placed ()'s.

What is in this script and who calls that?

> simon% If I edit that script (/var/folders/...) it seems to be a bash script, and my shell is
> set to /bin/tcsh (for a variety of reasons). Is there some place I can set my shell variant in
> QT Creator, and have Qt Creator write out something my shell will accept ?
> I already tried
> exec'ing /bin/bash before launching QT Creator from the commandline setting the environment
> SHELL variable to /bin/bash launching the last line in the script (which seems to be what is
> actually necessary) from the terminal window.  ... but no joy. Any other ideas ?

Do you need the terminal at all? If not try to de-select  [ ] Run in Terminal  in the Project settings


More information about the Qt-creator mailing list