summaryrefslogtreecommitdiffstats
path: root/config.tests/qpa/egl-x11/egl-x11.pro
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/qpa/egl-x11/egl-x11.pro')
-rw-r--r--config.tests/qpa/egl-x11/egl-x11.pro12
1 files changed, 12 insertions, 0 deletions
diff --git a/config.tests/qpa/egl-x11/egl-x11.pro b/config.tests/qpa/egl-x11/egl-x11.pro
new file mode 100644
index 0000000000..c4e94ca40c
--- /dev/null
+++ b/config.tests/qpa/egl-x11/egl-x11.pro
@@ -0,0 +1,12 @@
+SOURCES = egl-x11.cpp
+
+for(p, QMAKE_LIBDIR_EGL) {
+ exists($$p):LIBS += -L$$p
+}
+
+!isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL
+!isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL
+
+CONFIG -= qt
+
+LIBS += -lxcb -lX11 -lX11-xcb