Fix config.tests for directshow backend.
authorLing Hu <ling.hu@nokia.com>
Wed, 27 Jul 2011 00:26:59 +0000 (10:26 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 26 Sep 2011 05:21:01 +0000 (07:21 +0200)
directshow camera backend requires header qedit.h(currently removed since Windows SDK v7.0),
so if there is only Windows SDK v7.0, directshow backend should be disabled, since the directshow
mediaplayer will also be replaced by wmf backend.

Change-Id: I0de60fdcb683a57cc0aa3570f769179afc0c581b
Reviewed-by:Michael Goddard
(cherry picked from commit 68d78008f9d1eb82de673b8f4c8e73bdde2150c2)
Reviewed-on: http://codereview.qt-project.org/5494
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
config.tests/directshow/main.cpp

index e77268a5b85b067333ccc08a81fc2e5d3b827cf0..972a57c1070629bd734015606ac8f9a38e21a793 100644 (file)
@@ -42,6 +42,7 @@
 #include <dshow.h>
 #include <d3d9.h>
 #include <vmr9.h>
+#include <qedit.h>
 
 int main(int, char**)
 {