diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2010-08-13 11:57:19 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-08-13 14:16:18 +0200 |
commit | 81514c2937db40ef567fe6efdfd24733ad47e143 (patch) | |
tree | 1d2154265af5480c9fb587a7449dfa7b7c18a353 | |
parent | 5ae37f13993d4fce1f2368929c39516a315ab420 (diff) | |
download | qt-creator-81514c2937db40ef567fe6efdfd24733ad47e143.tar.gz |
Fix QtQuick->Preview shortcut to start a qmlviewer
The executable has been renamed to 'qmlviewer' months ago
(cherry picked from commit e28e1f0c568dd91b0b534c1c0c968e8b3549a8bc)
-rw-r--r-- | src/plugins/qmljseditor/qmljspreviewrunner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/qmljspreviewrunner.cpp b/src/plugins/qmljseditor/qmljspreviewrunner.cpp index edae36100f..6100360614 100644 --- a/src/plugins/qmljseditor/qmljspreviewrunner.cpp +++ b/src/plugins/qmljseditor/qmljspreviewrunner.cpp @@ -18,7 +18,7 @@ QmlJSPreviewRunner::QmlJSPreviewRunner(QObject *parent) : const QString searchPath = QCoreApplication::applicationDirPath() + Utils::SynchronousProcess::pathSeparator() + QString(qgetenv("PATH")); - m_qmlViewerDefaultPath = Utils::SynchronousProcess::locateBinary(searchPath, QLatin1String("qml")); + m_qmlViewerDefaultPath = Utils::SynchronousProcess::locateBinary(searchPath, QLatin1String("qmlviewer")); ProjectExplorer::Environment environment = ProjectExplorer::Environment::systemEnvironment(); m_applicationLauncher.setEnvironment(environment.toStringList()); |