Files
qt-creator/tests/auto/valgrind

# HOWTO COMPILE

 # go to your build folder of Qt Creator
cd /path/to/qtc-build

# create and enter build directory for valgrind tests
mkdir valgrind-test
cd valgrind-test

# make library paths known to ldconfig
export LD_LIBRARY_PATH=/path/to/qtc-build/lib/qtcreator:/path/to/qtc-build/lib/qtcreator/plugins

# run qmake, make
qmake CONFIG+=debug IDE_BUILD_TREE=$(readlink -f ..) ../../path/to/qtc/tests/auto/valgrind
make