Commit f488c59f authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: removing declarative dependency from plugins

The depedency on declarative is unnecessary.

Change-Id: I2b48bbb109c593ee4a7a2b5f225c57fad3e93bd8
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 996122b7
......@@ -32,7 +32,6 @@
#define CUSTOMSTYLEPLUGIN_H
#include <iwidgetplugin.h>
#include <qdeclarative.h>
namespace QmlDesigner {
......
......@@ -32,7 +32,6 @@
#define DESKTOPPLUGIN_H
#include <iwidgetplugin.h>
#include <qdeclarative.h>
QT_BEGIN_NAMESPACE
QT_END_NAMESPACE
......
......@@ -2,9 +2,6 @@ TARGET = desktopplugin
TEMPLATE = lib
CONFIG += plugin
QT += script \
declarative
include (../designercore/iwidgetplugin.pri)
SOURCES += $$PWD/desktopplugin.cpp
......
......@@ -32,7 +32,6 @@
#define EXTRASPLUGIN_H
#include <iwidgetplugin.h>
#include <qdeclarative.h>
namespace QmlDesigner {
......
......@@ -2,9 +2,6 @@ TARGET = extrasplugin
TEMPLATE = lib
CONFIG += plugin
QT += script \
declarative
include (../designercore/iwidgetplugin.pri)
SOURCES += $$PWD/extrasplugin.cpp
......
......@@ -2,9 +2,6 @@ TARGET = meegoplugin
TEMPLATE = lib
CONFIG += plugin
QT += script \
declarative
include (../designercore/iwidgetplugin.pri)
SOURCES += $$PWD/meegoplugin.cpp
......
......@@ -31,8 +31,6 @@
#include "qtquickplugin.h"
#include <widgetplugin_helper.h>
#include <QtPlugin>
#include <private/qdeclarativerectangle_p.h>
#include <private/qdeclarativescalegrid_p_p.h>
namespace QmlDesigner {
......@@ -40,8 +38,6 @@ namespace QmlDesigner {
QtQuickPlugin::QtQuickPlugin()
{
qmlRegisterType<QDeclarativePen>("Qt", 4, 7, "Pen");
qmlRegisterType<QDeclarativeScaleGrid>("Qt", 4, 7, "ScaleGrid");
}
QString QtQuickPlugin::pluginName() const
......
......@@ -32,7 +32,6 @@
#define QTQUICKPLUGIN_H
#include <iwidgetplugin.h>
#include <qdeclarative.h>
QT_BEGIN_NAMESPACE
QT_END_NAMESPACE
......
......@@ -2,9 +2,6 @@ TARGET = qtquickplugin
TEMPLATE = lib
CONFIG += plugin
QT += script \
declarative
include (../designercore/iwidgetplugin.pri)
DEFINES += QTQUICK_LIBRARY
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment