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. Qt 5.14 android aab and openssl binaries
Forum Updated to NodeBB v4.3 + New Features

Qt 5.14 android aab and openssl binaries

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 4 Posters 427 Views 2 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.
  • A Offline
    A Offline
    addr3ss
    wrote on last edited by
    #1

    How can I use openssl binaries with qt 5.14 and android aab format.I have multiple openssl binaries for different archs.where should I put them as qt builds one apk for all archs?
    Is there any way to use one openssl binary for all archs or should I use package managers?

    Pablo J. RoginaP 1 Reply Last reply
    0
    • P Offline
      P Offline
      pgi1
      wrote on last edited by
      #2

      Hi.

      You want to compile the lib for each architecture that you want to support and then add each lib to the ANDROID_EXTRA_LIBS.

      So you have something like:

      ANDROID_EXTRA_LIBS +=
      <OpenSSLPath>/arm/libcrypto_1_1.so
      <OpenSSLPath>/arm/libssl_1_1.so
      <OpenSSLPath>/arm64/libcrypto_1_1.so
      <OpenSSLPath>/arm65/libssl_1_1.so

      See also here:
      https://github.com/KDAB/android_openssl
      https://doc.qt.io/qt-5/android-openssl-support.html
      https://medium.com/mindorks/android-app-bundle-aab-98de6dad8ba8

      1 Reply Last reply
      0
      • A addr3ss

        How can I use openssl binaries with qt 5.14 and android aab format.I have multiple openssl binaries for different archs.where should I put them as qt builds one apk for all archs?
        Is there any way to use one openssl binary for all archs or should I use package managers?

        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #3

        @addr3ss in addition of what @pgi1 suggested, you may find these scripts by @ekkescorner useful as well.

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        ekkescornerE 1 Reply Last reply
        1
        • Pablo J. RoginaP Pablo J. Rogina

          @addr3ss in addition of what @pgi1 suggested, you may find these scripts by @ekkescorner useful as well.

          ekkescornerE Offline
          ekkescornerE Offline
          ekkescorner
          Qt Champions 2016
          wrote on last edited by
          #4

          @Pablo-J-Rogina my scripts are outdated. I'm using now https://github.com/KDAB/android_openssl
          (hint: have not yet tested with aab - still on 5.13.2)

          ekke ... Qt Champion 2016 | 2024 ... mobile business apps
          5.15 --> 6.8 https://t1p.de/ekkeChecklist
          QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

          1 Reply Last reply
          1

          • Login

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