forked from qt-creator/qt-creator
ClangCodeModel: Fix compile
Change-Id: I00229f3af2ba85ea14677fe47939a75c309a4116 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
|
||||
#include <cpptools/cppmodelmanager.h>
|
||||
|
||||
#include <projectexplorer/iprojectpanelfactory.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/session.h>
|
||||
|
||||
@@ -57,7 +58,7 @@ bool ClangCodeModelPlugin::initialize(const QStringList &arguments, QString *err
|
||||
auto panelFactory = new ProjectExplorer::IProjectPanelFactory();
|
||||
panelFactory->setPriority(60);
|
||||
panelFactory->setDisplayName(ClangProjectSettingsWidget::tr("Clang Settings"));
|
||||
panelFactory->setSimpleCreatePanelFunction<ClangProjectSettingsWidget>(QIcon());
|
||||
panelFactory->setSimpleCreateWidgetFunction<ClangProjectSettingsWidget>(QIcon());
|
||||
|
||||
addAutoReleasedObject(panelFactory);
|
||||
|
||||
|
@@ -34,6 +34,10 @@
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace ProjectExplorer {
|
||||
class Project;
|
||||
}
|
||||
|
||||
namespace ClangCodeModel {
|
||||
namespace Internal {
|
||||
|
||||
|
Reference in New Issue
Block a user