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

Android N support

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 1.4k 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.
  • G Offline
    G Offline
    Geraud
    wrote on last edited by
    #1

    Hello,

    With Android N, Google are slowly getting rid of OpenSSL in favor of their own flavor (no pun intended): as a result when trying to run on Android N, any code using SSL will get errors regarding libcrypto.so and libssl.so.

    Any ideas when we will be able to use Qt on this platform?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Maybe not a direct answer but if you need OpenSSL support for your application, you can build OpenSSL for Android and ship it with your application.

      In any case, you might want to bring that point on the Qt Android development mailing list. You'll find there Qt's Android port developers/maintainers. This forum is more user oriented.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Geraud
        wrote on last edited by
        #3

        Hi,

        To help others that might be in the same situation: building OpenSSL for Android, then putting libssl.so and libcrypto.so in <project>/android/libs/armeabi-v7a/ did the trick!

        G 1 Reply Last reply
        1
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Good :)

          Then please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • G Geraud

            Hi,

            To help others that might be in the same situation: building OpenSSL for Android, then putting libssl.so and libcrypto.so in <project>/android/libs/armeabi-v7a/ did the trick!

            G Offline
            G Offline
            GBergamo
            wrote on last edited by
            #5

            @Geraud I've just built openssl 1.0.2h for Android and it has correctly generated the libssl.so.1.0.0 and libcrypto.so.1.0.0 (using this guide http://stackoverflow.com/questions/11929773/compiling-the-latest-openssl-for-android).
            I've read that Android does not support versioned libraries, also if I rename the .so.1.0.0 to .so.
            Is this true? How do you build a non-versioned version of the library?
            And what about x86..should I put the x86 libraries in android/libs/x86 ?

            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