forked from qt-creator/qt-creator
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
\section2 Specifying Analyzer Settings
|
|
|
|
\QC integrates \l{Analyzing Code}{Valgrind code analysis tools} for
|
|
detecting memory leaks and profiling function execution. You can configure
|
|
the tools according to your needs.
|
|
|
|
You can specify analyzer settings for the desktop and Qt Simulator targets.
|
|
You can specify them either globally for all projects or separately for each
|
|
project.
|
|
|
|
To specify analyzer settings for the current project:
|
|
|
|
\list 1
|
|
|
|
\o In the \gui {Analyzer Settings} section, select \gui Custom.
|
|
|
|
\o Specify analyzer settings for the project.
|
|
|
|
\image qtcreator-analyzer-settings.png "Analyzer Settings"
|
|
|
|
\endlist
|
|
|
|
For more information about the settings, see:
|
|
|
|
\list
|
|
|
|
\o \l{Selecting Options for Memory Analysis}
|
|
|
|
\o \l{Selecting Profiling Options}
|
|
|
|
\endlist
|
|
|
|
Click \gui {Restore Global} to revert to the global settings.
|
|
|
|
To specify global analyzer settings, select \gui {Tools > Options >
|
|
Analyzer}.
|
|
|