forked from qt-creator/qt-creator
ImageView: Remove hard dependency on QtSvg headers
Change-Id: I2c8aa3017a95b36b3d96687f2da03eb2ef558222 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
@@ -58,9 +58,6 @@
|
|||||||
#include <utils/fileutils.h>
|
#include <utils/fileutils.h>
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
#include <QSvgRenderer>
|
|
||||||
#include <QGraphicsSvgItem>
|
|
||||||
|
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QGraphicsRectItem>
|
#include <QGraphicsRectItem>
|
||||||
|
|
||||||
@@ -75,6 +72,11 @@
|
|||||||
|
|
||||||
#include <qmath.h>
|
#include <qmath.h>
|
||||||
|
|
||||||
|
#ifndef QT_NO_SVG
|
||||||
|
#include <QGraphicsSvgItem>
|
||||||
|
#include <QSvgRenderer>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace ImageViewer {
|
namespace ImageViewer {
|
||||||
namespace Constants {
|
namespace Constants {
|
||||||
const qreal DEFAULT_SCALE_FACTOR = 1.2;
|
const qreal DEFAULT_SCALE_FACTOR = 1.2;
|
||||||
|
|||||||
Reference in New Issue
Block a user