forked from qt-creator/qt-creator
Project managers: Remove dependency to Qt Designer.
(Cmake/Qt4). Use PluginManager invocation facility for the form class code generation. Do the rest (testing for form editor, retrieving the editor contents). Acked-By: hjk
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
|
||||
#include "settingspage.h"
|
||||
#include "designerconstants.h"
|
||||
#include "qtdesignerformclasscodegenerator.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/mimedatabase.h>
|
||||
@@ -90,7 +91,7 @@ bool FormEditorPlugin::initialize(const QStringList &arguments, QString *error)
|
||||
|
||||
addAutoReleasedObject(new FormEditorFactory);
|
||||
addAutoReleasedObject(new SettingsPageProvider);
|
||||
|
||||
addAutoReleasedObject(new QtDesignerFormClassCodeGenerator);
|
||||
// Ensure that loading designer translations is done before FormEditorW is instantiated
|
||||
const QString locale = Core::ICore::instance()->userInterfaceLanguage();
|
||||
if (!locale.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user