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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on 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 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
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on 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 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

          ekkescornerE 1 Reply Last reply
          0
          • H halil sogut68

            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

            ekkescornerE Offline
            ekkescornerE Offline
            ekkescorner
            Qt Champions 2016
            wrote on 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 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

              ekkescornerE 1 Reply Last reply
              0
              • H halil sogut68

                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

                ekkescornerE Offline
                ekkescornerE Offline
                ekkescorner
                Qt Champions 2016
                wrote on 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 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 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
                    0
                    • H halil sogut68

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

                      tomasz3dkT Offline
                      tomasz3dkT Offline
                      tomasz3dk
                      wrote on 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