summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-11-15 15:59:13 +0100
committerLars Knoll <lars.knoll@qt.io>2016-11-23 08:42:05 +0000
commit2333c58fff009435503c3b7ef3d86569227056eb (patch)
treec98fd555af28f6324b24a3884bc8f40fa18bde24 /src/hardwareintegration
parent1d5b44cbb1e834bc8db94d8ec1ac140b8ca9ed37 (diff)
Use the feature system internally
Get rid of almost all DEFINES += ... in the pro files, instead use the proper QT_CONFIG() macro to determine whether a feature is available. Change-Id: I867769be2085c6ba93b6815e223e2b89edcb245d Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/hardwareintegration')
-rw-r--r--src/hardwareintegration/client/wayland-egl/wayland-egl.pri1
-rw-r--r--src/hardwareintegration/compositor/brcm-egl/brcm-egl.pri2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/wayland-egl.pri b/src/hardwareintegration/client/wayland-egl/wayland-egl.pri
index f812144a1..d7634b150 100644
--- a/src/hardwareintegration/client/wayland-egl/wayland-egl.pri
+++ b/src/hardwareintegration/client/wayland-egl/wayland-egl.pri
@@ -2,7 +2,6 @@ INCLUDEPATH += $$PWD
QMAKE_USE += egl wayland-client wayland-egl
-DEFINES += QT_EGL_WAYLAND
QT += egl_support-private
SOURCES += $$PWD/qwaylandeglclientbufferintegration.cpp \
diff --git a/src/hardwareintegration/compositor/brcm-egl/brcm-egl.pri b/src/hardwareintegration/compositor/brcm-egl/brcm-egl.pri
index 2658e84b2..e5f3d9174 100644
--- a/src/hardwareintegration/compositor/brcm-egl/brcm-egl.pri
+++ b/src/hardwareintegration/compositor/brcm-egl/brcm-egl.pri
@@ -2,8 +2,6 @@ QT = waylandcompositor waylandcompositor-private core-private gui-private
INCLUDEPATH += $$PWD
-DEFINES += QT_NO_OPENGL_ES_3
-
QMAKE_USE_PRIVATE += wayland-server
for(p, QMAKE_LIBDIR_EGL) {