From a2d3b7c99165cb5c4be6f0dd83a967e1119cf732 Mon Sep 17 00:00:00 2001 From: Jorgen Lind Date: Thu, 28 Nov 2013 11:06:29 +0100 Subject: Move the glxfbconfig configtest to qpa and rename it to glx We require glx version 1.3 which is where fbconfig is first defined. Also make use of the configure test and report the glx status. GLX support should always take precedence when compiling the xcb backend Change-Id: Ie46834210bf5cd2ac4006ff08379e0d3434ffa2b Reviewed-by: Laszlo Agocs --- config.tests/qpa/glx/glx.pro | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 config.tests/qpa/glx/glx.pro (limited to 'config.tests/qpa/glx/glx.pro') diff --git a/config.tests/qpa/glx/glx.pro b/config.tests/qpa/glx/glx.pro new file mode 100644 index 0000000000..da51a6d231 --- /dev/null +++ b/config.tests/qpa/glx/glx.pro @@ -0,0 +1,10 @@ +SOURCES = glx.cpp +CONFIG += x11 +INCLUDEPATH += $$QMAKE_INCDIR_OPENGL + +for(p, QMAKE_LIBDIR_OPENGL) { + exists($$p):LIBS += -L$$p +} + +CONFIG -= qt +LIBS += -lGL -- cgit v1.2.3