Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved OpenSSL with Qt Android application

    Mobile and Embedded
    2
    2
    91
    Loading More Posts
    • 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.
    • C
      Creatorczyk last edited by Creatorczyk

      Hi,

      I try use openssl library with my Qt Android mobile project with Qt5.15.2. So I followed the steps with tutorial below:
      https://doc.qt.io/qt-5/android-openssl-support.html

      I downloaded repository:
      https://github.com/KDAB/android_openssl

      In my pro file I added:

      android: include(../android_openssl/openssl.pri)
      INCLUDEPATH += ../android_openssl/static/include/
      

      And i added cipher class from this repo:
      https://github.com/voidrealms/Qt-152/tree/f91555005b8e25bedc5769d950e0448c65377f14/OpenSSLDemo

      Intelisense works fine, but all openssl functions return error "undefined reference" during building project? What can I do wrong?

      piervalli 1 Reply Last reply Reply Quote 0
      • piervalli
        piervalli @Creatorczyk last edited by piervalli

        @Creatorczyk
        I have included the static library instead of dynamic, so it works well

        1 Reply Last reply Reply Quote 0
        • First post
          Last post