mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
Moved svgimageprovider from qmlview plugin to utils lib
To be reused by other qml based plugins.
This commit is contained in:
parent
6ee34931ac
commit
69eb685d7b
@ -5,7 +5,8 @@ QT += gui \
|
|||||||
network \
|
network \
|
||||||
xml \
|
xml \
|
||||||
svg \
|
svg \
|
||||||
opengl
|
opengl \
|
||||||
|
declarative
|
||||||
|
|
||||||
DEFINES += QTCREATOR_UTILS_LIB
|
DEFINES += QTCREATOR_UTILS_LIB
|
||||||
|
|
||||||
@ -51,7 +52,9 @@ SOURCES += reloadpromptutils.cpp \
|
|||||||
mytabbedstackwidget.cpp \
|
mytabbedstackwidget.cpp \
|
||||||
mytabwidget.cpp \
|
mytabwidget.cpp \
|
||||||
mylistwidget.cpp \
|
mylistwidget.cpp \
|
||||||
cachedsvgitem.cpp
|
cachedsvgitem.cpp \
|
||||||
|
svgimageprovider.cpp
|
||||||
|
|
||||||
SOURCES += xmlconfig.cpp
|
SOURCES += xmlconfig.cpp
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
@ -106,7 +109,10 @@ HEADERS += utils_global.h \
|
|||||||
mytabbedstackwidget.h \
|
mytabbedstackwidget.h \
|
||||||
mytabwidget.h \
|
mytabwidget.h \
|
||||||
mylistwidget.h \
|
mylistwidget.h \
|
||||||
cachedsvgitem.h
|
cachedsvgitem.h \
|
||||||
|
svgimageprovider.h
|
||||||
|
|
||||||
|
|
||||||
HEADERS += xmlconfig.h
|
HEADERS += xmlconfig.h
|
||||||
|
|
||||||
FORMS += filewizardpage.ui \
|
FORMS += filewizardpage.ui \
|
||||||
|
@ -14,8 +14,8 @@ HEADERS += \
|
|||||||
qmlviewgadgetwidget.h \
|
qmlviewgadgetwidget.h \
|
||||||
qmlviewgadgetfactory.h \
|
qmlviewgadgetfactory.h \
|
||||||
qmlviewgadgetconfiguration.h \
|
qmlviewgadgetconfiguration.h \
|
||||||
qmlviewgadgetoptionspage.h \
|
qmlviewgadgetoptionspage.h
|
||||||
svgimageprovider.h
|
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
qmlviewplugin.cpp \
|
qmlviewplugin.cpp \
|
||||||
@ -23,8 +23,7 @@ SOURCES += \
|
|||||||
qmlviewgadgetfactory.cpp \
|
qmlviewgadgetfactory.cpp \
|
||||||
qmlviewgadgetwidget.cpp \
|
qmlviewgadgetwidget.cpp \
|
||||||
qmlviewgadgetconfiguration.cpp \
|
qmlviewgadgetconfiguration.cpp \
|
||||||
qmlviewgadgetoptionspage.cpp \
|
qmlviewgadgetoptionspage.cpp
|
||||||
svgimageprovider.cpp
|
|
||||||
|
|
||||||
OTHER_FILES += QMLView.pluginspec
|
OTHER_FILES += QMLView.pluginspec
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include "uavobjectmanager.h"
|
#include "uavobjectmanager.h"
|
||||||
#include "uavobject.h"
|
#include "uavobject.h"
|
||||||
|
#include "utils/svgimageprovider.h"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QSvgRenderer>
|
#include <QSvgRenderer>
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
#define QMLVIEWGADGETWIDGET_H_
|
#define QMLVIEWGADGETWIDGET_H_
|
||||||
|
|
||||||
#include "qmlviewgadgetconfiguration.h"
|
#include "qmlviewgadgetconfiguration.h"
|
||||||
#include "svgimageprovider.h"
|
|
||||||
|
|
||||||
#include <QtDeclarative/qdeclarativeview.h>
|
#include <QtDeclarative/qdeclarativeview.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user