Skip to content
Snippets Groups Projects
Commit 3366c295 authored by Arvid Ephraim Picciani's avatar Arvid Ephraim Picciani
Browse files

lldb: use Icore::resourcePath() to find lldb

parent 8ea56052
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@
#include "debuggerdialogs.h"
#include "debuggerplugin.h"
#include "debuggerstringutils.h"
#include "icore.h"
#include "breakhandler.h"
#include "breakpoint.h"
......@@ -72,7 +73,8 @@ LLDBEngineHost::LLDBEngineHost(const DebuggerStartParameters &startParameters)
connect(m_guestp, SIGNAL(finished(int, QProcess::ExitStatus)),
this, SLOT(finished (int, QProcess::ExitStatus)));
QString a(qApp->applicationDirPath() + QLatin1String("/../Resources/qtcreator-lldb"));
qDebug() << Core::ICore::instance()->resourcePath();
QString a(Core::ICore::instance()->resourcePath() + QLatin1String("/qtcreator-lldb"));
m_guestp->start(a,QStringList());
if (!m_guestp->waitForStarted()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment