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.
This commit is contained in:
George Kiagiadakis 2019-01-19 15:46:41 +01:00
parent eab642b1c3
commit f09807fc3d

View file

@ -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