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.10 Android 7.0 Error creating SSL context
Forum Updated to NodeBB v4.3 + New Features

Qt 5.10 Android 7.0 Error creating SSL context

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 2.3k 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
    Galbarad
    wrote on last edited by Galbarad
    #1

    Hi all,
    I have small problem with https on Android 7 or higher
    "Error creating SSL context" when I try access to https site
    but on Android 5 all fine
    I'm use
    Qt/5.10.0/android_armv7
    android-ndk-r10e
    sdk android-25 (7.1.1)
    minimum SDK - 16
    targetSDK - 25
    thanks for any help

    p.s. found in app output when run on Android 7.0

    E linker  : library "/system/lib/libcrypto.so" ("/system/lib/libcrypto.so") needed or dlopened by "/data/app/net.is.games.WarlocksDuel-2/lib/arm/libQt5Core.so" is not accessible for the namespace: [name="classloader-namespace", ld_library_paths="", default_library_paths="/data/app/net.is.games.WarlocksDuel-2/lib/arm:/data/app/net.is.games.WarlocksDuel-2/base.apk!/lib/armeabi-v7a", permitted_paths="/data:/mnt/expand:/data/data/net.is.games.WarlocksDuel"]
    
    1 Reply Last reply
    0
    • G Offline
      G Offline
      Galbarad
      wrote on last edited by
      #2

      looks like this should help
      http://doc.qt.io/qt-5/opensslsupport.html
      I'll try

      ekkescornerE 1 Reply Last reply
      0
      • G Galbarad

        looks like this should help
        http://doc.qt.io/qt-5/opensslsupport.html
        I'll try

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

        @Galbarad perhaps this can help you: https://github.com/ekke/android-openssl-qt

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

        1 Reply Last reply
        2
        • G Offline
          G Offline
          Galbarad
          wrote on last edited by
          #4

          thanks I'll try adapt your script for Windows

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Galbarad
            wrote on last edited by
            #5

            adding libcrypto.so and libssl.so into project fix problem

            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