forked from qt-creator/qt-creator
CompilerExplorer: Add wizard template
Also include "src/plugins/**/wizard.json" into .gitignore. Change-Id: Ib0576df15af4c112a4a27101d337522db6c19f25 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -14,10 +14,12 @@
|
||||
|
||||
#include <cppeditor/cppeditorconstants.h>
|
||||
|
||||
#include <QMenu>
|
||||
|
||||
#include <extensionsystem/iplugin.h>
|
||||
|
||||
#include <projectexplorer/jsonwizard/jsonwizardfactory.h>
|
||||
|
||||
#include <QMenu>
|
||||
|
||||
using namespace Core;
|
||||
|
||||
namespace CompilerExplorer::Internal {
|
||||
@@ -40,6 +42,8 @@ public:
|
||||
settings().defaultDocument().toUtf8());
|
||||
});
|
||||
|
||||
ProjectExplorer::JsonWizardFactory::addWizardPath(":/compilerexplorer/wizard/");
|
||||
|
||||
ActionContainer *mtools = ActionManager::actionContainer(Core::Constants::M_TOOLS);
|
||||
ActionContainer *mCompilerExplorer = ActionManager::createMenu("Tools.CompilerExplorer");
|
||||
QMenu *menu = mCompilerExplorer->menu();
|
||||
|
||||
Reference in New Issue
Block a user