qtmobility/plugins/multimedia/gstreamer/qx11videosurface.cpp
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
--- a/qtmobility/plugins/multimedia/gstreamer/qx11videosurface.cpp	Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/plugins/multimedia/gstreamer/qx11videosurface.cpp	Wed Jun 23 19:08:38 2010 +0300
@@ -42,7 +42,9 @@
 #include <QtCore/qvariant.h>
 #include <QtCore/qdebug.h>
 #include <QtGui/qx11info_x11.h>
-#include <QtMultimedia/qvideosurfaceformat.h>
+#include <qvideosurfaceformat.h>
+
+#ifndef QT_NO_XVIDEO
 
 #include "qx11videosurface.h"
 
@@ -530,3 +532,6 @@
         XFree(attributes);
     }
 }
+
+#endif //QT_NO_XVIDEO
+