Move code from Designer to QtSupport

* Move settings pages for Qt code generation from Designer to QtSupport
  plugin.
* Make Designer plugin depend on QtSupport

Change-Id: I222dac0a648c194ce46fd9f8bbb09c70db851bbd
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Tobias Hunger
2014-07-18 15:47:20 +02:00
parent f7e8acbd09
commit ff33e989c7
16 changed files with 244 additions and 154 deletions

View File

@@ -34,7 +34,6 @@
#ifdef CPP_ENABLED
# include "cpp/formclasswizard.h"
# include "cpp/cppsettingspage.h"
#endif
#include "settingspage.h"
@@ -49,6 +48,7 @@
#include <coreplugin/designmode.h>
#include <cpptools/cpptoolsconstants.h>
#include <QApplication>
#include <QDebug>
#include <QLibraryInfo>
#include <QTranslator>
@@ -146,8 +146,6 @@ void FormEditorPlugin::initializeTemplates()
wizard->setDescription(tr("Creates a Qt Designer form along with a matching class (C++ header and source file) "
"for implementation purposes. You can add the form and class to an existing Qt Widget Project."));
addAutoReleasedObject(wizard);
addAutoReleasedObject(new CppSettingsPage);
#endif
}