Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. When compiling the android qt-opensource, the configure error occurs when the openssl-linked option is enabled
Forum Updated to NodeBB v4.3 + New Features

When compiling the android qt-opensource, the configure error occurs when the openssl-linked option is enabled

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 305 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    senmx
    wrote on last edited by
    #1

    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
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved