forked from qt-creator/qt-creator
Fix MinGW valgrind build
QueryFullProcessImageName is only available on Windows >= Vista. iSetting _WIN32_WINNT fixes availability on MinGW and moving the functionality to winutils avoids code duplication. Change-Id: I0ff1a12a1c092b1ad9cde75b636b52c5b959ce7d Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -44,6 +44,9 @@ QTCREATOR_UTILS_EXPORT bool is64BitWindowsSystem();
|
||||
// Check for a 64bit binary.
|
||||
QTCREATOR_UTILS_EXPORT bool is64BitWindowsBinary(const QString &binary);
|
||||
|
||||
// Get the path to the executable for a given PID.
|
||||
QTCREATOR_UTILS_EXPORT QString imageName(quint32 processId);
|
||||
|
||||
//
|
||||
// RAII class to temporarily prevent windows crash messages from popping up using the
|
||||
// application-global (!) error mode.
|
||||
|
||||
Reference in New Issue
Block a user