From dafd0955c601fc00f9164f9b955ec9f28b627565 Mon Sep 17 00:00:00 2001 From: Andy Nichols Date: Fri, 16 Sep 2016 11:26:15 +0200 Subject: Enable support for OpenVG This commit re-enables support for OpenVG in Qt, but not in the same way as in Qt 4.8. The first part is about adding a test and using the new configure system to enable OpenVG. There is still support code in Qt for setting up EGL to provide a surface and context for rendering with the OpenVG API, this commit enables a path to do so. Normally to get access to an EGLContext from a QWindow you do so via QOpenGLContext, but in setups without OpenGL but with EGL and OpenVG this doesn't make sense (there would be no QOpenGLContext). So the intended way is to use a QWindow to get an EGLSurface, then create an EGLContext directly (without going through QPA). Change-Id: I0f75aadbaa3cd006deb7e6fd12cfbb574870fba4 Reviewed-by: Laszlo Agocs --- config.tests/unix/openvg/openvg.pro | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 config.tests/unix/openvg/openvg.pro (limited to 'config.tests/unix/openvg/openvg.pro') diff --git a/config.tests/unix/openvg/openvg.pro b/config.tests/unix/openvg/openvg.pro new file mode 100644 index 0000000000..1933e3789c --- /dev/null +++ b/config.tests/unix/openvg/openvg.pro @@ -0,0 +1,3 @@ +SOURCES += openvg.cpp + +CONFIG -= qt -- cgit v1.2.3