forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.7'
Conflicts: src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.h Change-Id: I192b9e88f967182f3275b4b98abed1220c26daac
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <projectexplorer/runnables.h>
|
||||
#include <projectexplorer/runconfiguration.h>
|
||||
|
||||
#include <utils/environment.h>
|
||||
#include <utils/hostosinfo.h>
|
||||
@@ -59,7 +59,7 @@ void QmlJSPreviewRunner::run(const QString &filename)
|
||||
{
|
||||
QString errorMessage;
|
||||
if (!filename.isEmpty()) {
|
||||
ProjectExplorer::StandardRunnable r;
|
||||
ProjectExplorer::Runnable r;
|
||||
r.environment = Utils::Environment::systemEnvironment();
|
||||
r.runMode = ProjectExplorer::ApplicationLauncher::Gui;
|
||||
r.executable = m_qmlViewerDefaultPath;
|
||||
|
||||
Reference in New Issue
Block a user