Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12.4
-
None
-
MacOS High Sierra
Description
I'm trying to build Qt 5.12.4 (6e350aff34545e7b41b07617c9152f81db735702) for Android armv7a (32-bit) with OpenSSL support. I can build using the "-openssl-runtime" flag and "OPENSSL_PREFIX" if I put the OpenSSL libs inside a "lib/" directory which I manually create. However, when I would rather build with static libs via "-openssl-linked" and this fails...
OPENSSL_LIBS="-L /Users/chris/Projects/openssl-android/openssl-1.0.2s-NDKr18b -lssl -lcrypto" /Volumes/Apex/Projects/Qt/qt5-repo/configure -android-arch armeabi-v7a -android-ndk /Users/chris/LocalApps/Android/android-ndk-r18b -android-ndk-host darwin-x86_64 -android-ndk-platform android-26 -android-sdk /Users/chris/LocalApps/Android -android-toolchain-version 4.9 -xplatform android-clang -skip qtcharts -skip qtdatavis3d -skip qtdoc -skip qtdocgallery -skip qtfeedback -skip qtgamepad -skip qtnetworkauth -skip qtpim -skip qtpurchasing -skip qtqa -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsystems -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtmacextras -skip qtwinextras -skip qtx11extras -I /Users/chris/Projects/openssl-android/openssl-1.0.2s-NDKr18b/include -nomake examples -nomake tests -no-warnings-are-errors -openssl-linked -opensource -confirm-license -extprefix /Volumes/Apex/Projects/Qt/qt5.12.4-android-armeabi-v7a-SSL-LGPL_install
...
Checking for OpenSSL... no
...
OpenSSL ................................ no
Qt directly linked to OpenSSL ........ no
OpenSSL 1.1 ............................ no
...
ERROR: Feature 'openssl-linked' was enabled, but the pre-condition '!features.securetransport && libs.openssl' failed.
Check config.log for details.
[in config.log]
looking for library openssl
Trying source 0 (type openssl) of library openssl ...
None of [libssl.so libssl.a] found in [] and global paths.
None of [libcrypto.so libcrypto.a] found in [] and global paths.
=> source produced no result.
Trying source 1 (type inline) of library openssl ...
=> source failed condition 'config.win32'.
Trying source 2 (type inline) of library openssl ...
=> source failed condition 'config.msvc'.
Trying source 3 (type inline) of library openssl ...
None of [libssl.so libssl.a] found in [] and global paths.
None of [libcrypto.so libcrypto.a] found in [] and global paths.
=> source produced no result.
It's not clear to me whether Qt now supports OpenSSL 1.1, so I've tried both 1.0.2 and 1.1.1 to no avail.