Change-Id: Ib6870d2b161197fdeab7fe5140ac4757c79f478e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
//#define QPROCESS_DEBUG
-#if defined QPROCESS_DEBUG
#include <qdebug.h>
+#include <qdir.h>
+#if defined QPROCESS_DEBUG
#include <qstring.h>
#include <ctype.h>
#if !defined(Q_OS_WINCE)
{
Q_D(QProcess);
if (d->processState != NotRunning) {
- qWarning("QProcess: Destroyed while process is still running.");
+ qWarning().nospace()
+ << "QProcess: Destroyed while process (" << QDir::toNativeSeparators(program()) << ") is still running.";
kill();
waitForFinished();
}