PDA

View Full Version : profiling in QTCreator



prkhr4u
17th January 2014, 06:29
I am absolutely new to profiling in QTCreator.
Here is what I am doing:

1) Set the build to Release mode
2) Analyze>QML Profiler>Start
It is showing error:

Could not connect to the in-process QML profiler.
Do you want to retry?
Even after retrying nothing happening
3) Analyze>Valgrind Memory Analyzer>Start
error:

Analyzing memory of /home/hls/Grab-build-desktop-Qt_4_8_1_in_PATH__System__Release/Grab
** Error: "valgrind" could not be started: No such file or directory **
** Analyzing finished **
I checked physically,the executable file Grab is there in the above said directory
4) Analyze>Valgrind Function profiler>Start
error:

You are trying to run the tool "Valgrind Function profiler" on an application in Debug mode.The tool is designed to be used in Release mode
I am using it in release mode only.

I guess I am missing some configuration.Can someone tell what I am missing?

prkhr4u
24th January 2014, 02:45
I have solved the issue,had to install 'valgrind' externally.