summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-02-23 11:10:21 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-02-23 11:10:56 (GMT)
commit84365594ec624f3c341f443503a7e83fe627d427 (patch)
treeb90775ebe1e004378fd149f893b2b9681a533057 /config.tests
parent2724520fd551512138731058467c9acea0aa3951 (diff)
downloadQt-84365594ec624f3c341f443503a7e83fe627d427.zip
Qt-84365594ec624f3c341f443503a7e83fe627d427.tar.gz
Qt-84365594ec624f3c341f443503a7e83fe627d427.tar.bz2
Make the XVideo configure test actually pass if XV is present
Reviewed-By: TrustMe
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/x11/xvideo/xvideo.cpp1
-rw-r--r--config.tests/x11/xvideo/xvideo.pro1
2 files changed, 2 insertions, 0 deletions
diff --git a/config.tests/x11/xvideo/xvideo.cpp b/config.tests/x11/xvideo/xvideo.cpp
index 9d0eef6..e9de2a8 100644
--- a/config.tests/x11/xvideo/xvideo.cpp
+++ b/config.tests/x11/xvideo/xvideo.cpp
@@ -1,3 +1,4 @@
+#include <X11/Xlib.h>
#include <X11/extensions/Xv.h>
#include <X11/extensions/Xvlib.h>
diff --git a/config.tests/x11/xvideo/xvideo.pro b/config.tests/x11/xvideo/xvideo.pro
index 114cbd3..d4c63a0 100644
--- a/config.tests/x11/xvideo/xvideo.pro
+++ b/config.tests/x11/xvideo/xvideo.pro
@@ -1,3 +1,4 @@
CONFIG += x11
CONFIG -= qt
SOURCES = xvideo.cpp
+LIBS += -lXv