summaryrefslogtreecommitdiffstats
path: root/src/core/config
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-03-20 11:33:38 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-03-20 11:05:17 +0000
commit5bc464f610c91b59214304c9f970393c3971a4bd (patch)
tree9320d3f218006ff18dd3657a0e30ba952688059d /src/core/config
parent4e6921c6c38b0b8786a5209949791742a0e06b94 (diff)
Fix OpenGL for embedded builds
Sets the external ozone platform and make sure we don't set bad QT_LIBDIR defines for libEGL and libGLESv2 when not doing cross builds. Change-Id: I60eada3c93224a3aa3a105b007d669932516d331 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/config')
-rw-r--r--src/core/config/embedded_linux.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/config/embedded_linux.pri b/src/core/config/embedded_linux.pri
index 51d7e2671..f9b8a35d5 100644
--- a/src/core/config/embedded_linux.pri
+++ b/src/core/config/embedded_linux.pri
@@ -12,6 +12,8 @@ use?(gn) {
enable_notifications=false \
ozone_auto_platforms=false \
ozone_platform_headless=true \
+ ozone_platform_external=true \
+ ozone_platform=\"eglfs\" \
toolkit_views=false
use?(icecc) {