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 Android OpenSSL issues
Qt 6.11 is out! See what's new in the release blog

Qt Android OpenSSL issues

Scheduled Pinned Locked Moved Solved Mobile and Embedded
13 Posts 3 Posters 2.3k Views 1 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
    #4

    Which exact version of Qt ? The switch to OpenSSL 1.1 in the official binary happened for Qt 5.12.4.

    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
    • B Offline
      B Offline
      BTSTOnline
      wrote on last edited by BTSTOnline
      #5

      Qt Creator 4.9.2
      Based on Qt 5.12.4 (Clang 10.0 (Apple), 64 bit)
      Built on Jun 26 2019 11:30:44
      From revision 8181363fa9

      Knew there were OpenSSL issues, so I updated this past week.

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

        That's the Qt Creator information. I am asking for the Qt version you are using to build 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
        • B Offline
          B Offline
          BTSTOnline
          wrote on last edited by
          #7

          0_1567516934969_31413429-10f2-4b49-bca6-a1518fcbe66b-image.png

          5.12.4, right?

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

            Indeed, it just realised something. From the .pro file bits you posted, you only have openssl.pri in DISTFILES. Do you include it at some point ? Otherwise, it's content won't be processed.

            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
            • B Offline
              B Offline
              BTSTOnline
              wrote on last edited by BTSTOnline
              #9

              Yes, I have this to include the PRI:

              android {
                  include(openSSL/openssl.pri)
              }
              

              And, I've included it in my Project as well. Same as I used to do with the older version of SSL.

              -----------UPDATE
              Had two PRO files confused... correctly adding in the INCLUDE of the ssl PRI file worked.

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

                What version of Android are you targeting ?

                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
                • B Offline
                  B Offline
                  BTSTOnline
                  wrote on last edited by
                  #11

                  0_1567524652249_e2a729af-4b49-45b7-a0b9-09499d776835-image.png

                  1 Reply Last reply
                  0
                  • W Offline
                    W Offline
                    Wiru
                    wrote on last edited by
                    #12

                    Just to make sure, you are not trying this on an Android 5.x device? As it's not gonna work with openSSL 1.1.x

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      BTSTOnline
                      wrote on last edited by
                      #13

                      Current test device is Android 9. LG V50 ThinQ

                      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