Qt Creator Manual | Running Valgrind Tools on External Applications

Qt Creator Manual 4.4.0

Profiling Function Execution ◦ Using Clang Static Analyzer

# Running Valgrind Tools on External Applications

Qt Creator integrates Valgrind code analysis tools for detecting memory leaks and profiling function execution.

To run the Valgrind tools to analyze external applications for which you do not have a Qt Creator project:

1. Select Analyze > Valgrind Memory Analyzer (External Application) or Valgrind Function Profiler (External Application).

2. Specify the application to run and analyze, and the kit to use.

Profiling Function Execution ◦ Using Clang Static Analyzer