summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2015-11-10 15:42:07 +0100
committerTomasz Olszak <olszak.tomasz@gmail.com>2015-11-10 16:37:42 +0100
commitabf87b3b0bcbce2d3dd2ae469034c0dc6398dcde (patch)
treeac7fc9dd0cfbb5542262e5a191d5c1acf1677434
parent3d187ca72ebde9840a0cc974f5b67efd72f2522e (diff)
downloadqtbase-abf87b3b0bcbce2d3dd2ae469034c0dc6398dcde.tar.gz
qtbase-abf87b3b0bcbce2d3dd2ae469034c0dc6398dcde.tar.bz2
qtbase-abf87b3b0bcbce2d3dd2ae469034c0dc6398dcde.zip
Fix build break when no X11 headers are in buildroot.
Change-Id: Ia862c9bc58f56bd7d44cfced1314b1d04fe8326a
-rw-r--r--src/plugins/platforms/eglfs/eglfs-plugin.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/eglfs-plugin.pro b/src/plugins/platforms/eglfs/eglfs-plugin.pro
index 0f493fdc01..6ea0753a09 100644
--- a/src/plugins/platforms/eglfs/eglfs-plugin.pro
+++ b/src/plugins/platforms/eglfs/eglfs-plugin.pro
@@ -5,6 +5,9 @@ PLUGIN_CLASS_NAME = QEglFSIntegrationPlugin
!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = -
load(qt_plugin)
+# Avoid X11 header collision
+DEFINES += MESA_EGL_NO_X11_HEADERS
+
QT += platformsupport-private eglfs_device_lib-private
SOURCES += $$PWD/qeglfsmain.cpp