Valgrind only runs for console apps
I'm using Qt Creator in Mac OSX and I have installed Valgrind on my Mac.
I created a basic C++ application using Qt Creator and ran Valgrind memory analyser over it and it worked fine, but I cannot get it to work with Qt Quick or Qt Widgets applications. It seems to only work with Terminal applications.
When I run Memory Analyser for Qt Gui applications I get a message that the process has crashed.
Am I missing a step here? Are there settings I need to apply somewhere? I've had a look in the run settings but nothing really looks like it might help.
Thanks in advance for any help!