How can we use Valgrind Tools of Qt creator to check memory leaks in Windows and MAC?
-
"Profiling and Memory Checking Tools":http://qt-project.org/wiki/Profiling-and-Memory-Checking-Tools
-
[quote author="Lukas Geyer" date="1332401205"]"Profiling and Memory Checking Tools":http://qt-project.org/wiki/Profiling-and-Memory-Checking-Tools[/quote]
I have downloaded the "valgrind" from the above link for MAC. How can i link that with Qt creator.
-
If your valgrind binary is not already in your PATH you can set the location manually in your project settings under Targets -> Run -> Analyzer and change the settings to "Custom" with your desired location under "Valgrind executable"
I installed valgrind btw with homebrew, which makes it easy to install terminal tools and add them to your path.
Alex