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. How to add OpenSSL support for Android in QT windows
QtWS25 Last Chance

How to add OpenSSL support for Android in QT windows

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
8 Posts 5 Posters 1.8k 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.
  • K Offline
    K Offline
    Knox
    wrote on last edited by
    #1

    Hello i am trying to develop an app as a project for school. I ran to a problem. I was greeted with this.

    alt text

    After google searching here is what i found out. It would seem that google has stopped support of openSSL (the one responsible for httprequests) on android 7 + . So again i went to googling for solutions and stumbled into an official documentation form Qt on how to solve this.

    https://doc.qt.io/qt-5/opensslsupport.html

    Now again more problems, It would seem that for me to do it is to use a Linux based OS, which i dont have. So hence the Title. Is there anyway for me Using QT running on a WINDOWS operating system to add openSSL support to my android application?

    I have read somewhere that i can just Build Android APK > Additional Libraries > Add , but i do not know which files and the locations of the correct files.

    Thank you very much :)

    Qt Creator v 4.6.1 and Qt v 5.11

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on last edited by kuzulis
      #2

      A best way it is to compile OpenSSL yourself. F.e. it can "simple" to do using Linux host. Just install the Linux (with Android NDK ) on a VirtualMachine and compile the OpenSSL there, and then just take a resulting binaries to use for Windows host.

      PS: Also, as an option, you can download pre-compiled OpenSSL binaries (please search in a Google), but is ia a most worse case.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Knox
        wrote on last edited by Knox
        #3

        Okay, i have zero experience in linux so bear with me please, can you give me a step by step guide on how to do the compiling of OpenSSL. i think i can do the downloading and installing of qt and android NDK on my own.

        Pablo J. RoginaP 1 Reply Last reply
        0
        • K Offline
          K Offline
          kuzulis
          Qt Champions 2020
          wrote on last edited by
          #4

          i have zero experience in linux so bear with me please, can you give me a step by step guide

          A google has a lot of 'build scripts' located, e.g. on github. You need just take that scripts and build OpenSSL. e.g. from here

          installing of qt and android NDK on my own.

          Qt is not need in this case. You need only in NDK (just download it and unpack).

          1 Reply Last reply
          0
          • K Knox

            Okay, i have zero experience in linux so bear with me please, can you give me a step by step guide on how to do the compiling of OpenSSL. i think i can do the downloading and installing of qt and android NDK on my own.

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

            @Knox you may want to take a look at this guide about building OpenSSL for Qt and Android

            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

            1 Reply Last reply
            0
            • K Offline
              K Offline
              Knox
              wrote on last edited by Knox
              #6

              @Pablo-J.-Rogina I got lost in "Build OpenSsl" ./configure says directory not found. where should i run these comands?

              1 Reply Last reply
              0
              • N Offline
                N Offline
                nateliv
                Banned
                wrote on last edited by nateliv
                #7
                This post is deleted!
                1 Reply Last reply
                -1
                • P Offline
                  P Offline
                  pallavikd
                  Banned
                  wrote on last edited by
                  #8
                  This post is deleted!
                  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