Commit 80e657b3 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by hjk
Browse files

Valgrind: Compile on Windows.



Change-Id: I3afd64b297a15af2e51c7fdd83292b9ca2a1cc1f
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent e63d1f64
......@@ -35,6 +35,7 @@
#include <QFileInfo>
#include <utils/qtcassert.h>
#include <utils/winutils.h>
#ifdef Q_OS_WIN
# include <qt_windows.h>
......@@ -135,7 +136,7 @@ void ValgrindProcess::run(const QString &valgrindExecutable, const QStringList &
m_localProcess.start();
m_localProcess.waitForStarted();
#ifdef Q_OS_WIN
m_pid = m_process.pid()->dwProcessId;
m_pid = Utils::winQPidToPid(m_localProcess.pid());
#else
m_pid = m_localProcess.pid();
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment