forked from qt-creator/qt-creator
QmlProjectManager: Fix compilation with latest changes of QDeclarative
All files have been renamed from Qml to QDeclarative. Registration of types is now done in an initializer method.
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "qmlprojectrunconfigurationfactory.h"
|
||||
#include "qmlprojectruncontrol.h"
|
||||
#include "qmltaskmanager.h"
|
||||
#include "fileformat/qmlprojectfileformat.h"
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
@@ -81,6 +82,9 @@ bool QmlProjectPlugin::initialize(const QStringList &, QString *errorMessage)
|
||||
addAutoReleasedObject(new Internal::QmlRunControlFactory);
|
||||
addAutoReleasedObject(new QmlProjectApplicationWizard);
|
||||
addAutoReleasedObject(new QmlProjectImportWizard);
|
||||
|
||||
QmlProjectFileFormat::registerDeclarativeTypes();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user