I tried a QGC custom build and got the results as below.
OS : Windows 11
Qt : 5.15.2
11:12:45: Running steps for project qgroundcontrol...
11:12:45: Starting: "C:\Qt\5.15.2\android\bin\qmake.exe" D:\Qt_Test\QGC_AstroX\qgroundcontrol.pro -spec android-clang "CONFIG+=qml_debug" "CONFIG+=qtquickcompiler" "CONFIG+=force_debug_info" "CONFIG+=separate_debug_info" ANDROID_ABIS="armeabi-v7a"
Info: creating stash file D:\Qt_Test\build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Profile\.qmake.stash
'which'is not an internal or external command, an executable program, or a batch file.
C:\Qt\5.15.2\android\bin\rcc.exe: File does not exist 'D:/Qt_Test/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Profile/armeabi-v7a/qmake_qmake_qm_files.qrc'
'which'is not an internal or external command, an executable program, or a batch file.
Project MESSAGE: Qt version 5.15.2
Project MESSAGE: Android Arm 64 bit build
Project MESSAGE: Daily Build
Project MESSAGE: GIT_DESCRIBE 201e6d792
Project MESSAGE: QGroundControl APP_VERSION_STR VERSION vUnknown 0.0.0
Project MESSAGE: VERSION 0.0.0
Project MESSAGE: Android version info: 660000000 bitness:66 major:0 minor:0 patch:00 dev:000
Project MESSAGE: Release flavor
Project MESSAGE: Found custom build
Project MESSAGE: Adding Custom Plugin
Project MESSAGE: Custom QGC Version: 0.0.)
Project MESSAGE: Disable APM Plugin
Project MESSAGE: Disable APM Plugin Factory
Project MESSAGE: Disable PX4 Plugin Factory
Project MESSAGE: Skipping support for Pairing
Project MESSAGE: Disable APM MAVLink support
Project MESSAGE: Using MAVLink dialect 'common'.
Project MESSAGE: ANDROID_EXTRA_LIBS
Project MESSAGE: arm64-v8a
Project MESSAGE: D:/Qt_Test/QGC_AstroX/libs/OpenSSL/android_openssl/arm64/libcrypto.so D:/Qt_Test/QGC_AstroX/libs/OpenSSL/android_openssl/arm64/libssl.so
Project MESSAGE: Skipping support for Zeroconf (unsupported platform)
Project MESSAGE: Including support for AirMap
Project MESSAGE: Skipping support for Airmap (unsupported platform)
Project MESSAGE: Using custom qgroundcontrol.qrc
Project MESSAGE: Using custom qgcresources.qrc
Project MESSAGE: Using custom InstrumentValueIcons.qrc
Project MESSAGE: Taisync disabled
Project MESSAGE: Microhard disabled
Project MESSAGE: Skipping support for video streaming (GStreamer libraries not installed)
Project MESSAGE: Installation instructions here: https://github.com/mavlink/qgroundcontrol/blob/7dc5315b26f4be4e90bf7b6a412c6b5e340362e7/src/VideoReceiver/README.md
Project MESSAGE: Adding Serial Java Classes
Project MESSAGE: Merging D:/Qt_Test/QGC_AstroX/custom/android/ -> D:/Qt_Test/QGC_AstroX/android/
Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
Project MESSAGE: Qt version 5.15.2
Project MESSAGE: Android Arm 32 bit build
Project MESSAGE: Daily Build
Project MESSAGE: GIT_DESCRIBE 201e6d792
Project MESSAGE: QGroundControl APP_VERSION_STR VERSION vUnknown 0.0.0
Project MESSAGE: VERSION 0.0.0
Project MESSAGE: Android version info: 340000000 bitness:34 major:0 minor:0 patch:00 dev:000
Project MESSAGE: Release flavor
Project MESSAGE: Found custom build
Project MESSAGE: Adding Custom Plugin
Project MESSAGE: Custom QGC Version: 0.0.)
Project MESSAGE: Disable APM Plugin
Project MESSAGE: Disable APM Plugin Factory
Project MESSAGE: Disable PX4 Plugin Factory
Project MESSAGE: Skipping support for Pairing
Project MESSAGE: Disable APM MAVLink support
Project MESSAGE: Using MAVLink dialect 'common'.
Project MESSAGE: ANDROID_EXTRA_LIBS
Project MESSAGE: armeabi-v7a
Project MESSAGE: D:/Qt_Test/QGC_AstroX/libs/OpenSSL/android_openssl/arm/libcrypto.so D:/Qt_Test/QGC_AstroX/libs/OpenSSL/android_openssl/arm/libssl.so
Project MESSAGE: Skipping support for Zeroconf (unsupported platform)
Project MESSAGE: Including support for AirMap
Project MESSAGE: Skipping support for Airmap (unsupported platform)
Project MESSAGE: Using custom qgroundcontrol.qrc
Project MESSAGE: Using custom qgcresources.qrc
Project MESSAGE: Using custom InstrumentValueIcons.qrc
Project MESSAGE: Taisync disabled
Project MESSAGE: Microhard disabled
Project MESSAGE: Skipping support for video streaming (GStreamer libraries not installed)
Project MESSAGE: Installation instructions here: https://github.com/mavlink/qgroundcontrol/blob/7dc5315b26f4be4e90bf7b6a412c6b5e340362e7/src/VideoReceiver/README.md
Project MESSAGE: Adding Serial Java Classes
Project MESSAGE: Merging D:/Qt_Test/QGC_AstroX/custom/android/ -> D:/Qt_Test/QGC_AstroX/android/
11:12:55: The process "C:\Qt\5.15.2\android\bin\qmake.exe" exited normally.
11:12:55: Starting: "C:\Users\AstroX\AppData\Local\Android\Sdk\ndk\21.3.6528147\prebuilt\windows-x86_64\bin\make.exe" -f D:/Qt_Test/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Profile/Makefile qmake_all
make: Nothing to be done for 'qmake_all'.
11:12:55: The process "C:\Users\AstroX\AppData\Local\Android\Sdk\ndk\21.3.6528147\prebuilt\windows-x86_64\bin\make.exe" exited normally.
11:12:55: Starting: "C:\Users\AstroX\AppData\Local\Android\Sdk\ndk\21.3.6528147\prebuilt\windows-x86_64\bin\make.exe" -j8
mkdir D:/Qt_Test/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Profile/ANDROID_PACKAGE_SOURCE_DIR && xcopy /s /q /y /i D:/Qt_Test/QGC_AstroX/android/* D:/Qt_Test/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Profile/ANDROID_PACKAGE_SOURCE_DIR && xcopy /s /q /y /i D:/Qt_Test/QGC_AstroX/custom/android/* D:/Qt_Test/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Profile/ANDROID_PACKAGE_SOURCE_DIR && C:\Qt\5.15.2\android\bin\qmake.exe -install sed -i "s/package=\"org.mavlink.qgroundcontrol\"/package=\"org.custom.qgroundcontrol\"/" D:/Qt_Test/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Profile/ANDROID_PACKAGE_SOURCE_DIR/AndroidManifest.xml
Invalid command syntax.
make: *** [Makefile:2403: android_source_dir] Error 1
11:12:56: The process "C:\Users\AstroX\AppData\Local\Android\Sdk\ndk\21.3.6528147\prebuilt\windows-x86_64\bin\make.exe" exited with code 2.
Error while building/deploying project qgroundcontrol (kit: Android Qt 5.15.2 Clang Multi-Abi)
When executing step "Make"
11:12:56: Elapsed time: 00:10.