1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-15 07:29:15 +01:00

OP-1109: port libs/utils - swgImageProvider

This commit is contained in:
Alessio Morale 2013-11-13 23:07:03 +01:00
parent cab2d22bbb
commit 9507431cd6
3 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@
SvgImageProvider::SvgImageProvider(const QString &basePath) :
QObject(),
QDeclarativeImageProvider(QDeclarativeImageProvider::Image),
QQuickImageProvider(QQuickImageProvider::Image),
m_basePath(basePath)
{}

View File

@ -29,13 +29,13 @@
#define SVGIMAGEPROVIDER_H_
#include <QObject>
#include <QtDeclarative/qdeclarativeimageprovider.h>
#include <QQuickImageProvider>
#include <QSvgRenderer>
#include <QMap>
#include "utils_global.h"
class QTCREATOR_UTILS_EXPORT SvgImageProvider : public QObject, public QDeclarativeImageProvider {
class QTCREATOR_UTILS_EXPORT SvgImageProvider : public QObject, public QQuickImageProvider {
Q_OBJECT
public:
SvgImageProvider(const QString &basePath);

View File

@ -6,7 +6,7 @@ QT += gui \
xml \
svg \
opengl \
declarative \
qml quick \
widgets
DEFINES += QTCREATOR_UTILS_LIB