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 Updated to NodeBB v4.3 + New Features

OpenSSL with Qt Android application

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 202 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.
  • C Offline
    C Offline
    Creatorczyk
    wrote on 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?

    piervalliP 1 Reply Last reply
    0
    • C 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?

      piervalliP Do not disturb
      piervalliP Do not disturb
      piervalli
      wrote on last edited by piervalli
      #2

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

      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