Unsolved When compiling the android qt-opensource, the configure error occurs when the openssl-linked option is enabled
-
My compile shell:
#!/bin/bash #https://doc.qt.io/qt-5/android-building.html #https://doc.qt.io/qt-5/ssl.html cd /home/sen/soft/qt-everywhere-src-5.15.1 #make clean export OPENSSL_LIBS='-L/home/sen/github/c/openssl-1.1.1g/ -llibssl =llibcrypto' ./configure -release -opensource -confirm-license -openssl-linked -xplatform android-clang -prefix /usr/local/Qt-5.15.1-android --disable-rpath -nomake tests -nomake examples -android-ndk $ANDROID_NDK_HOME -android-sdk $ANDROID_SDK_HOME -no-warnings-are-errors #make -j12 #make install
Error:
ERROR: Feature 'openssl-linked' was enabled, but the pre-condition '!features.securetransport && !features.schannel && libs.openssl' failed.
Log file: config.log
Env:
System: Archlinux Qt5.15.1 openssl-1.1.1.g
-
Hi,
Based on your configuration I would guess that the OpenSSL headers are not found. If so, you need to add the corresponding path to your configure call.