diff options
author | Tasuku Suzuki <tasuku.suzuki@nokia.com> | 2010-04-13 11:22:01 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-04-15 11:05:19 (GMT) |
commit | 97caf6916a830b70f6a40a99a55fd4500b163c37 (patch) | |
tree | 8d362f83a130550cb40ecaa5a911abd598c284e3 /src/multimedia/base/qgraphicsvideoitem.cpp | |
parent | 63224660526b199eabd08e1dfbd8956e764d768e (diff) | |
download | Qt-97caf6916a830b70f6a40a99a55fd4500b163c37.zip Qt-97caf6916a830b70f6a40a99a55fd4500b163c37.tar.gz Qt-97caf6916a830b70f6a40a99a55fd4500b163c37.tar.bz2 |
Fix compile error with QT_NO_GRAPHICSVIEW in QtMultimedia
Merge-request: 2333
Reviewed-by: Thierry Bastian <thierry.bastian@nokia.com>
Diffstat (limited to 'src/multimedia/base/qgraphicsvideoitem.cpp')
-rw-r--r-- | src/multimedia/base/qgraphicsvideoitem.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/multimedia/base/qgraphicsvideoitem.cpp b/src/multimedia/base/qgraphicsvideoitem.cpp index f903eb7..c50d3ff 100644 --- a/src/multimedia/base/qgraphicsvideoitem.cpp +++ b/src/multimedia/base/qgraphicsvideoitem.cpp @@ -52,6 +52,8 @@ #include <QtOpenGL/qgl.h> #endif +#ifndef QT_NO_GRAPHICSVIEW + QT_BEGIN_NAMESPACE @@ -434,4 +436,7 @@ bool QGraphicsVideoItem::sceneEvent(QEvent *event) } QT_END_NAMESPACE + +#endif // QT_NO_GRAPHICSVIEW + #include "moc_qgraphicsvideoitem.cpp" |