diff options
author | Trond Kjernaasen <trond@trolltech.com> | 2010-02-24 13:06:24 (GMT) |
---|---|---|
committer | Trond Kjernaasen <trond@trolltech.com> | 2010-02-24 13:07:16 (GMT) |
commit | 0c778d3e2e5599cf5b7acf01d0fdef4d2b8bd567 (patch) | |
tree | db8363623f5512dd932866d2d86896f3de76a1f1 /src/gui/painting | |
parent | 205befb70d440bcb5222b18cbef970f773549e97 (diff) | |
download | Qt-0c778d3e2e5599cf5b7acf01d0fdef4d2b8bd567.zip Qt-0c778d3e2e5599cf5b7acf01d0fdef4d2b8bd567.tar.gz Qt-0c778d3e2e5599cf5b7acf01d0fdef4d2b8bd567.tar.bz2 |
Make the qpainter test compile under Windows.
Reviewed-by: Kim
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qpainter.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/painting/qpainter.h b/src/gui/painting/qpainter.h index 4d52c5d..bcb0b50 100644 --- a/src/gui/painting/qpainter.h +++ b/src/gui/painting/qpainter.h @@ -111,8 +111,9 @@ public: qreal scaleY; qreal rotation; qreal opacity; - static Fragment create(const QPointF &pos, const QRectF &sourceRect, qreal scaleX = 1, - qreal scaleY = 1, qreal rotation = 0, qreal opacity = 1); + static Fragment Q_GUI_EXPORT create(const QPointF &pos, const QRectF &sourceRect, + qreal scaleX = 1, qreal scaleY = 1, + qreal rotation = 0, qreal opacity = 1); }; enum FragmentHint { |