From f09807fc3d2e10ecb7450d2fa1fdb54fd798a789 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Sat, 19 Jan 2019 15:46:41 +0100 Subject: [PATCH] qmlgl: meson: fix theoretical support for building for android The android code path is slightly different than the EGLFS one, so I added previously a HAVE_QT_ANDROID define for use with qmake. Here I also add it in meson, although I expect nobody will ever use meson to build this, as it's complicated. --- ext/qt/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/qt/meson.build b/ext/qt/meson.build index 18646d29ae..500501d5fa 100644 --- a/ext/qt/meson.build +++ b/ext/qt/meson.build @@ -93,7 +93,7 @@ if have_cxx and build_gstgl qt5androidextras = dependency('qt5', modules : ['AndroidExtras'], required : false) if qt5androidextras.found() optional_deps += qt5androidextras - # also uses the HAVE_QT_EGLFS define below + qt_defines += ['-DHAVE_QT_ANDROID'] have_qt_windowing = true endif endif