Skip to content
GitLab
Menu
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
a89c171c
Commit
a89c171c
authored
Jun 17, 2010
by
kh1
Browse files
Use the full path to the qemu executable, might fix QTCREATORBUG-1656.
Task-number: QTCREATORBUG-1656
parent
cfdb5d74
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/qemuruntimemanager.cpp
View file @
a89c171c
...
...
@@ -379,9 +379,9 @@ void QemuRuntimeManager::startRuntime()
m_qemuProcess
->
setProcessEnvironment
(
env
);
m_qemuProcess
->
setWorkingDirectory
(
rt
.
m_root
);
const
QString
app
=
(
QFileInfo
(
rt
.
m_bin
).
isRelative
()
?
root
%
QLatin1String
(
"madlib/"
)
%
rt
.
m_bin
// Fremantle.
:
rt
.
m_bin
)
// Haramattan.
const
QString
app
=
root
+
(
QFileInfo
(
rt
.
m_bin
).
isRelative
()
?
QLatin1String
(
"madlib/"
)
%
rt
.
m_bin
// Fremantle.
:
rt
.
m_bin
)
// Haramattan.
#ifdef Q_OS_WIN
%
QLatin1String
(
".exe"
)
#endif
...
...
@@ -389,6 +389,9 @@ void QemuRuntimeManager::startRuntime()
m_qemuProcess
->
start
(
app
%
QLatin1Char
(
' '
)
%
rt
.
m_args
,
QIODevice
::
ReadWrite
);
if
(
!
m_qemuProcess
->
waitForStarted
())
return
;
emit
qemuProcessStatus
(
QemuStarting
);
connect
(
m_qemuAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
terminateRuntime
()));
disconnect
(
m_qemuAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
startRuntime
()));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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