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. OpenSSL with Qt Android application
Forum Update on Monday, May 27th 2025

OpenSSL with Qt Android application

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 202 Views
  • 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 Offline
    C Offline
    Creatorczyk
    wrote on 24 Mar 2022, 10:23 last edited by Creatorczyk
    #1

    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?

    P 1 Reply Last reply 24 Mar 2022, 13:04
    0
    • C Creatorczyk
      24 Mar 2022, 10:23

      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?

      P Offline
      P Offline
      piervalli
      wrote on 24 Mar 2022, 13:04 last edited by piervalli
      #2

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

      1 Reply Last reply
      0

      2/2

      24 Mar 2022, 13:04

      • Login

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