diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-15 15:22:11 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-16 07:54:44 (GMT) |
commit | 0a63875d787e1b035ace2c76fa1d0de6329127d7 (patch) | |
tree | f383384e8a861a18f8e91198098f3368dc9d6446 /config.tests/x11 | |
parent | 335e36d0cb4f108efa8a94853f82b8ceea1b63d5 (diff) | |
download | Qt-0a63875d787e1b035ace2c76fa1d0de6329127d7.zip Qt-0a63875d787e1b035ace2c76fa1d0de6329127d7.tar.gz Qt-0a63875d787e1b035ace2c76fa1d0de6329127d7.tar.bz2 |
Add functionality tests for XSync.
It was reported to be auto-detected, but wasn't. Apparently, AIX 6's
X11 doesn't have this.
Reviewed-By: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Diffstat (limited to 'config.tests/x11')
-rw-r--r-- | config.tests/x11/xsync/xsync.cpp | 11 | ||||
-rw-r--r-- | config.tests/x11/xsync/xsync.pro | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/config.tests/x11/xsync/xsync.cpp b/config.tests/x11/xsync/xsync.cpp new file mode 100644 index 0000000..a23fb08 --- /dev/null +++ b/config.tests/x11/xsync/xsync.cpp @@ -0,0 +1,11 @@ +#include <X11/Xlib.h> +#include <X11/Xutil.h> +#include <X11/extensions/sync.h> + +int main(int, char **) +{ + XSyncValue value; + (void*)&XSyncIntToValue; + (void*)&XSyncCreateCounter; + return 0; +} diff --git a/config.tests/x11/xsync/xsync.pro b/config.tests/x11/xsync/xsync.pro new file mode 100644 index 0000000..58b8238 --- /dev/null +++ b/config.tests/x11/xsync/xsync.pro @@ -0,0 +1,3 @@ +CONFIG += x11 +CONFIG -= qt +SOURCES = xsync.cpp |