Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Target SDK : Android 7 sdk problem
Forum Updated to NodeBB v4.3 + New Features

Target SDK : Android 7 sdk problem

Scheduled Pinned Locked Moved Solved QML and Qt Quick
11 Posts 4 Posters 3.1k Views 3 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.
  • H Offline
    H Offline
    halil sogut68
    wrote on 19 Jul 2017, 11:29 last edited by
    #1

    Hi,

    We have ssl exceptions in Android 7 OS tablet , project exceptions is like below :

    W MaksMobil: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
    W MaksMobil: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
    W MaksMobil: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
    W MaksMobil: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error

    We are develop project for Android 7 applications we are using 5.7.1 version qt creator but there is no Target SDK: Android 7 in AndroidManifest.xml file .After that we are installed also 5.8.0 qt version but we can't find Target SDK: Android 7 in AndroidManifest.xml file.Is above exception for this problem or not , how can I solve this problem.

    Thanks

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 19 Jul 2017, 20:17 last edited by
      #2

      Hi,

      IIRC, since version 7, Android doesn't provide OpenSSL anymore so you have to build it for that platform and deploy it with your application.

      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
      • H Offline
        H Offline
        halil sogut68
        wrote on 20 Jul 2017, 10:40 last edited by
        #3

        Hi sgaist,

        Thanks for answering .So how can we solve this important problem?, we can not use our https services in our app in Andrioid 7 OS Tablet. Are there any way to solve or not? (is it a bug ?)

        Thanks

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 21 Jul 2017, 09:48 last edited by
          #4

          Like I wrote: you have to build OpenSSL for Android and deploy it with your application.

          See @ekkescorner project.

          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
          • H Offline
            H Offline
            halil sogut68
            wrote on 25 Jul 2017, 14:10 last edited by
            #5

            Hi SGaist,

            We did everything step by step on the link we are create libssl.so and libcrypto.so in /home/islem/Android/openssl-1.0.2l folder with that link we are also modify .pro and .pri files like below .But again we can not use https services in Android 7 there is also problem below picture.

            How can we solve this important problem because important QT application can not run https services in Android 7 ?

            .pro

            include (Android/Android.pri)

            .pri
            android {
            ANDROID_EXTRA_LIBS += $$PWD/../../Android/openssl-1.0.2l/libcrypto.so
            ANDROID_EXTRA_LIBS += $$PWD/../../Android/openssl-1.0.2l/libssl.so
            }

            0_1500991992349_ssl.png

            Thanks for helping

            E 1 Reply Last reply 25 Jul 2017, 15:19
            0
            • H halil sogut68
              25 Jul 2017, 14:10

              Hi SGaist,

              We did everything step by step on the link we are create libssl.so and libcrypto.so in /home/islem/Android/openssl-1.0.2l folder with that link we are also modify .pro and .pri files like below .But again we can not use https services in Android 7 there is also problem below picture.

              How can we solve this important problem because important QT application can not run https services in Android 7 ?

              .pro

              include (Android/Android.pri)

              .pri
              android {
              ANDROID_EXTRA_LIBS += $$PWD/../../Android/openssl-1.0.2l/libcrypto.so
              ANDROID_EXTRA_LIBS += $$PWD/../../Android/openssl-1.0.2l/libssl.so
              }

              0_1500991992349_ssl.png

              Thanks for helping

              E Offline
              E Offline
              ekkescorner
              Qt Champions 2016
              wrote on 25 Jul 2017, 15:19 last edited by
              #6

              @halil-sogut68 seems you have no access to the libraries. check your user rights

              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
              • H Offline
                H Offline
                halil sogut68
                wrote on 26 Jul 2017, 06:37 last edited by halil sogut68
                #7

                Hi ekke ,

                Thanks for answering , can you explain more details about problem (checking user rights in qt ) or are there any example method to solve this important problem .

                Thanks for helping

                E 1 Reply Last reply 26 Jul 2017, 07:13
                0
                • H halil sogut68
                  26 Jul 2017, 06:37

                  Hi ekke ,

                  Thanks for answering , can you explain more details about problem (checking user rights in qt ) or are there any example method to solve this important problem .

                  Thanks for helping

                  E Offline
                  E Offline
                  ekkescorner
                  Qt Champions 2016
                  wrote on 26 Jul 2017, 07:13 last edited by
                  #8

                  @halil-sogut68 'unauthorized access' soubnds like the file is there but you cannotr access.
                  have no idea.
                  never got this from including openssl libraries
                  I'm doing all my work on OSX

                  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
                  0
                  • H Offline
                    H Offline
                    halil sogut68
                    wrote on 26 Jul 2017, 08:51 last edited by halil sogut68
                    #9

                    Thanks ekke ,

                    We encounter in Android 7 OS, OSX is the different OS . Are there anyone who solve this problem in Linux side because we can not solve .

                    Thanks

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      halil sogut68
                      wrote on 8 Aug 2017, 06:30 last edited by
                      #10

                      Problem was solved :https://geonet.esri.com/message/667378-cant-add-libssl-and-libcrypto#comment-667409

                      tomasz3dkT 1 Reply Last reply 8 Aug 2017, 08:35
                      0
                      • H halil sogut68
                        8 Aug 2017, 06:30

                        Problem was solved :https://geonet.esri.com/message/667378-cant-add-libssl-and-libcrypto#comment-667409

                        tomasz3dkT Offline
                        tomasz3dkT Offline
                        tomasz3dk
                        wrote on 8 Aug 2017, 08:35 last edited by
                        #11

                        @halil-sogut68 If problem was solved mark topic also as solved, it would help other people to find right solution, if they encounter same problem.

                        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