summaryrefslogtreecommitdiff
path: root/src/svg/qsvghandler.cpp
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2012-05-23 07:03:42 +0900
committerQt by Nokia <qt-info@nokia.com>2012-05-23 11:28:26 +0200
commit0d129f9b85503f23cc270f9cf7b310f44dd11ebe (patch)
treee4acb2520c1a8187d5a71208c963bad0cafba3a4 /src/svg/qsvghandler.cpp
parent238d72b13fbddd1d7bc6466fca9188ce16044dec (diff)
downloadqtsvg-0d129f9b85503f23cc270f9cf7b310f44dd11ebe.tar.gz
Fix compilation for -no-widgets option
Disable QSvgWidget and QGraphicsSvgItem when -no-widgets is set. The module doesn't depend on widgets when QT_CONFIG contains no-widgets. QT_NO_SVG* (which is removed in Qt5) is replaced to QT_NO_WIDGETS. Change-Id: I11457a40e96d193269dcc37ac7fdb86f3f7c1958 Reviewed-by: Donald Carr <donald.carr@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/svg/qsvghandler.cpp')
-rw-r--r--src/svg/qsvghandler.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp
index 9ba213d..18b3694 100644
--- a/src/svg/qsvghandler.cpp
+++ b/src/svg/qsvghandler.cpp
@@ -51,8 +51,6 @@
#include "qsvgnode_p.h"
#include "qsvgfont_p.h"
-#include "qapplication.h"
-#include "qwidget.h"
#include "qpen.h"
#include "qpainterpath.h"
#include "qbrush.h"