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