Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
e28e1f0c
Commit
e28e1f0c
authored
Aug 13, 2010
by
Kai Koehne
Browse files
Fix QtQuick->Preview shortcut to start a qmlviewer
The executable has been renamed to 'qmlviewer' months ago
parent
bbee4a63
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmljseditor/qmljspreviewrunner.cpp
View file @
e28e1f0c
...
...
@@ -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
(
"qml
viewer
"
));
ProjectExplorer
::
Environment
environment
=
ProjectExplorer
::
Environment
::
systemEnvironment
();
m_applicationLauncher
.
setEnvironment
(
environment
.
toStringList
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment