diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-07-12 08:33:56 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-07-12 08:35:46 +0200 |
commit | 80e657b39064266505ab47c562185bdbc5969390 (patch) | |
tree | 6bf6f32dcd445e85a5b351ad53f610fb4dcc53bc | |
parent | e63d1f64b51ff0ec09f730108956a80e65820259 (diff) | |
download | qt-creator-80e657b39064266505ab47c562185bdbc5969390.tar.gz |
Valgrind: Compile on Windows.
Change-Id: I3afd64b297a15af2e51c7fdd83292b9ca2a1cc1f
Reviewed-by: hjk <hjk121@nokiamail.com>
-rw-r--r-- | src/plugins/valgrind/valgrindprocess.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/valgrind/valgrindprocess.cpp b/src/plugins/valgrind/valgrindprocess.cpp index 5939802d09..88dce9ea40 100644 --- a/src/plugins/valgrind/valgrindprocess.cpp +++ b/src/plugins/valgrind/valgrindprocess.cpp @@ -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 |