mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14: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 \
|
||||
xml \
|
||||
svg \
|
||||
opengl
|
||||
opengl \
|
||||
declarative
|
||||
|
||||
DEFINES += QTCREATOR_UTILS_LIB
|
||||
|
||||
@ -51,7 +52,9 @@ SOURCES += reloadpromptutils.cpp \
|
||||
mytabbedstackwidget.cpp \
|
||||
mytabwidget.cpp \
|
||||
mylistwidget.cpp \
|
||||
cachedsvgitem.cpp
|
||||
cachedsvgitem.cpp \
|
||||
svgimageprovider.cpp
|
||||
|
||||
SOURCES += xmlconfig.cpp
|
||||
|
||||
win32 {
|
||||
@ -106,7 +109,10 @@ HEADERS += utils_global.h \
|
||||
mytabbedstackwidget.h \
|
||||
mytabwidget.h \
|
||||
mylistwidget.h \
|
||||
cachedsvgitem.h
|
||||
cachedsvgitem.h \
|
||||
svgimageprovider.h
|
||||
|
||||
|
||||
HEADERS += xmlconfig.h
|
||||
|
||||
FORMS += filewizardpage.ui \
|
||||
|
@ -14,8 +14,8 @@ HEADERS += \
|
||||
qmlviewgadgetwidget.h \
|
||||
qmlviewgadgetfactory.h \
|
||||
qmlviewgadgetconfiguration.h \
|
||||
qmlviewgadgetoptionspage.h \
|
||||
svgimageprovider.h
|
||||
qmlviewgadgetoptionspage.h
|
||||
|
||||
|
||||
SOURCES += \
|
||||
qmlviewplugin.cpp \
|
||||
@ -23,8 +23,7 @@ SOURCES += \
|
||||
qmlviewgadgetfactory.cpp \
|
||||
qmlviewgadgetwidget.cpp \
|
||||
qmlviewgadgetconfiguration.cpp \
|
||||
qmlviewgadgetoptionspage.cpp \
|
||||
svgimageprovider.cpp
|
||||
qmlviewgadgetoptionspage.cpp
|
||||
|
||||
OTHER_FILES += QMLView.pluginspec
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "extensionsystem/pluginmanager.h"
|
||||
#include "uavobjectmanager.h"
|
||||
#include "uavobject.h"
|
||||
#include "utils/svgimageprovider.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QSvgRenderer>
|
||||
|
@ -29,7 +29,6 @@
|
||||
#define QMLVIEWGADGETWIDGET_H_
|
||||
|
||||
#include "qmlviewgadgetconfiguration.h"
|
||||
#include "svgimageprovider.h"
|
||||
|
||||
#include <QtDeclarative/qdeclarativeview.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user