$ ../qt5/configure -developer-build -xplatform android-clang -android-sdk /opt/android-sdk -android-ndk /opt/android-sdk/ndk/21.0.6113669 -nomake tests -nomake examples -opensource -confirm-license
Note: The following modules are not being compiled in this configuration:
WARNING: Cross compiling without sysroot. Disabling pkg-config
WARNING: A pkg-config support is required to build QtWebEngine.
WARNING: QtWebEngine will not be built.
WARNING: QtPdf will not be built.
Maybe I could specify a sysroot somehow, but there's no pkg-config anyway. I guess we need qtpdf to not depend on that, somehow.
The main reason I want to build for Android is to validate that the text-selection approach in https://codereview.qt-project.org/c/qt/qtwebengine/+/293222 is a correct cross-platform solution.