set BUILD_VERSION="6.2.0" REM set ANDROID_ABI=armeabi-v7a set ANDROID_ABI=arm64-v8a REM set ANDROID_ABI=x86_64 set BASE_DIR="C:\Other\Qt\6_Custom\Shared\%BUILD_VERSION:"=%" set SOURCE_DIR="C:\T\Source" set BUILD_DIR="C:\T\Andr_%ANDROID_ABI%" set INSTALL_DIR="%BASE_DIR:"=%\android_%ANDROID_ABI%" set OPENSSL_ROOT_DIR="C:/Other/OpenSSL_Android_%ANDROID_ABI%" set OPENSSL_INCLUDE_DIR="%OPENSSL_ROOT_DIR:"=%/include" set OPENSSL_LIBS_FOLDER="%OPENSSL_ROOT_DIR:"=%/lib" set OPENSSL_SSL_LIBRARY="%OPENSSL_LIBS_FOLDER:"=%/libssl_1_1.so" set OPENSSL_CRYPTO_LIBRARY="%OPENSSL_LIBS_FOLDER:"=%/libcrypto_1_1.so" set OPENSSL_LIBS="-L%OPENSSL_LIBS_FOLDER:"=%/ -llibcrypto_1_1 -llibssl_1_1" set ANDROID_SDK_PATH=C:\Other\Android\Sdk set ANDROID_NDK_PATH=C:\Other\Android\Sdk\ndk\21.3.6528147 set QT_HOST_PATH=C:\Other\Qt\6_Custom\Shared\6.2.0\msvc2019_64 set JDK_ROOT=C:\Program Files\AdoptOpenJDK\jdk-11.0.11.9-hotspot\bin set MINGW_ROOT=C:\Other\Qt\5\Tools\mingw730_64\bin REM set MINGW_ROOT=C:\Other\Qt\5\Tools\mingw810_64\bin set CMAKE_PATH="C:\Other\Qt\5\Tools\CMake_64\bin" set NINJA_PATH="C:\Other\Qt\5\Tools\Ninja" set PATH=%CMAKE_PATH:"=%;%NINJA_PATH:"=%;%MINGW_ROOT%;%JDK_ROOT%;%OPENSSL_ROOT_DIR:"=%;%PATH% set CL=/MP mkdir %BUILD_DIR% cd %BUILD_DIR% call "%SOURCE_DIR:"=%\configure.bat" -ssl -openssl-linked -DOPENSSL_ROOT_DIR="%OPENSSL_ROOT_DIR:"=%" -DOPENSSL_INCLUDE_DIR="%OPENSSL_INCLUDE_DIR:"=%" -DOPENSSL_SSL_LIBRARY="%OPENSSL_SSL_LIBRARY:"=%" -DOPENSSL_CRYPTO_LIBRARY="%OPENSSL_CRYPTO_LIBRARY:"=%" -prefix "%INSTALL_DIR:"=%" -mp -shared -c++std c++17 -debug-and-release -platform android-clang -android-abis %ANDROID_ABI% -android-sdk %ANDROID_SDK_PATH% -android-ndk %ANDROID_NDK_PATH% -qt-host-path %QT_HOST_PATH% -opensource -confirm-license -nomake tests -nomake examples -DQT_NO_MAKE_TESTS=ON -DQT_NO_MAKE_EXAMPLES=ON -no-warnings-are-errors -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview ninja -j32 ninja install