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
5427f7bf
Commit
5427f7bf
authored
Aug 18, 2010
by
Christian Kandeler
Browse files
Maemo: Fix Qemu start on Mac.
parent
3e31a770
Changes
1
Show whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/qemuruntimemanager.cpp
View file @
5427f7bf
...
@@ -352,9 +352,13 @@ void QemuRuntimeManager::startRuntime()
...
@@ -352,9 +352,13 @@ void QemuRuntimeManager::startRuntime()
env
.
insert
(
key
,
env
.
value
(
key
)
%
colon
%
root
%
QLatin1String
(
"bin"
));
env
.
insert
(
key
,
env
.
value
(
key
)
%
colon
%
root
%
QLatin1String
(
"bin"
));
env
.
insert
(
key
,
env
.
value
(
key
)
%
colon
%
root
%
QLatin1String
(
"madlib"
));
env
.
insert
(
key
,
env
.
value
(
key
)
%
colon
%
root
%
QLatin1String
(
"madlib"
));
#elif defined(Q_OS_UNIX)
#elif defined(Q_OS_UNIX)
# if defined(Q_OS_MAC)
const
QLatin1String
key
(
"DYLD_LIBRARY_PATH"
);
# else
const
QLatin1String
key
(
"LD_LIBRARY_PATH"
);
const
QLatin1String
key
(
"LD_LIBRARY_PATH"
);
# endif // MAC
env
.
insert
(
key
,
env
.
value
(
key
)
%
QLatin1Char
(
':'
)
%
rt
.
m_libPath
);
env
.
insert
(
key
,
env
.
value
(
key
)
%
QLatin1Char
(
':'
)
%
rt
.
m_libPath
);
#endif
#endif
// WIN/UNIX
m_qemuProcess
->
setProcessEnvironment
(
env
);
m_qemuProcess
->
setProcessEnvironment
(
env
);
m_qemuProcess
->
setWorkingDirectory
(
rt
.
m_root
);
m_qemuProcess
->
setWorkingDirectory
(
rt
.
m_root
);
...
...
Write
Preview
Supports
Markdown
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