summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@digia.com>2014-06-26 16:38:59 +0200
committerMarco Bubke <marco.bubke@digia.com>2014-06-26 17:51:40 +0200
commit1104f50dd5ca40dc824158848f72fc7ffd10c0b6 (patch)
treee4ac450866d0c9bb8df496ecbfd7af5c27929762 /src
parent2aa7df6dff4725c42fe983f100289c700702a50c (diff)
downloadqt-creator-1104f50dd5ca40dc824158848f72fc7ffd10c0b6.tar.gz
QmlDesigner: Add puppet stop message box
You must set DEBUG_QML_PUPPET as environment variable. Change-Id: I072ac22d2f835781e93401e4a3b876fce6e4b2e0 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp b/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp
index 635d75ab15..158b277c3a 100644
--- a/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp
+++ b/src/plugins/qmldesigner/designercore/instances/puppetcreator.cpp
@@ -34,6 +34,7 @@
#include <QCoreApplication>
#include <QCryptographicHash>
#include <QDateTime>
+#include <QMessageBox>
#include <projectexplorer/kit.h>
#include <projectexplorer/toolchain.h>
@@ -42,6 +43,7 @@
#include <qtsupport/baseqtversion.h>
#include <qtsupport/qtkitinformation.h>
#include <qtsupport/qtsupportconstants.h>
+#include <coreplugin/icore.h>
#include "puppetbuildprogressdialog.h"
@@ -130,6 +132,11 @@ QProcess *PuppetCreator::puppetProcess(const QString &puppetPath,
}
puppetProcess->start(puppetPath, QStringList() << socketToken << puppetMode << "-graphicssystem raster");
+ if (!qgetenv("DEBUG_QML_PUPPET").isEmpty())
+ QMessageBox::information(Core::ICore::dialogParent(),
+ QStringLiteral("Puppet is starting ..."),
+ QStringLiteral("You can now attach your debugger to the puppet."));
+
return puppetProcess;
}