forked from qt-creator/qt-creator
Move QmlConsole to Debugger
Now it is closer to its only user and possibly reusable for no-QML uses there. We also drop the QML/JS syntax checker. The application being debugged can already tell us about syntax errors. There is no need to duplicate that functionality. Change-Id: I2ba151f9f4c854c6119ba5462c21be40bddcebf9 Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -66,7 +66,8 @@
|
||||
#include "localsandexpressionswindow.h"
|
||||
#include "loadcoredialog.h"
|
||||
#include "sourceutils.h"
|
||||
#include <debugger/shared/hostutils.h>
|
||||
#include "shared/hostutils.h"
|
||||
#include "console/console.h"
|
||||
|
||||
#include "snapshothandler.h"
|
||||
#include "threadshandler.h"
|
||||
@@ -1239,8 +1240,9 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments,
|
||||
if (!m_arguments.isEmpty())
|
||||
connect(KitManager::instance(), &KitManager::kitsLoaded,
|
||||
this, &DebuggerPluginPrivate::parseCommandLineArguments);
|
||||
// Cpp/Qml ui setup
|
||||
|
||||
m_mainWindow = new DebuggerMainWindow;
|
||||
m_plugin->addAutoReleasedObject(debuggerConsole());
|
||||
|
||||
TaskHub::addCategory(TASK_CATEGORY_DEBUGGER_DEBUGINFO,
|
||||
tr("Debug Information"));
|
||||
|
||||
Reference in New Issue
Block a user