summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/openvg/openvg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/unix/openvg/openvg.cpp')
-rw-r--r--config.tests/unix/openvg/openvg.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.tests/unix/openvg/openvg.cpp b/config.tests/unix/openvg/openvg.cpp
new file mode 100644
index 0000000..8f763cd
--- /dev/null
+++ b/config.tests/unix/openvg/openvg.cpp
@@ -0,0 +1,16 @@
+// There is some variation in OpenVG engines as to what case
+// the VG includes use. The Khronos reference implementation
+// for OpenVG 1.1 uses upper case, so we treat that as canonical.
+#if defined(QT_LOWER_CASE_VG_INCLUDES)
+#include <vg/openvg.h>
+#else
+#include <VG/openvg.h>
+#endif
+
+int main(int, char **)
+{
+ VGint i;
+ i = 2;
+ vgFlush();
+ return 0;
+}