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. Problem with openSSL and Qt 6.5.0 beta 2
Forum Updated to NodeBB v4.3 + New Features

Problem with openSSL and Qt 6.5.0 beta 2

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
14 Posts 5 Posters 3.0k 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.
  • JoeCFDJ Offline
    JoeCFDJ Offline
    JoeCFD
    wrote on last edited by JoeCFD
    #2

    I guess libcrypto.so is not added to your apk. You can manually check if your apk has it or not.
    https://stackoverflow.com/questions/3599210/how-to-view-the-contents-of-an-android-apk-file

    I have something like in my pro file for Qt5.
    LIBS += $$ANDROID_SDK_ROOT/android_openssl/latest/arm64/libcrypto_1_1.so
    ANDROID_EXTRA_LIBS += $$ANDROID_SDK_ROOT/android_openssl/latest/arm64/libcrypto_1_1.so

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Francky033
      wrote on last edited by Francky033
      #3

      Hi JoeCFD,

      I have just checked following your method and there are libraries libcrypto.so and libssl.so included in the apk file (and they are in the right format: arm64_v8a).
      But, is this new Qt 6.5.0 beta2 version now incompatible with openssl 1.1 because I just tried with openssl1.1 and it doesn't work any more?

      JoeCFDJ 1 Reply Last reply
      0
      • F Francky033

        Hi JoeCFD,

        I have just checked following your method and there are libraries libcrypto.so and libssl.so included in the apk file (and they are in the right format: arm64_v8a).
        But, is this new Qt 6.5.0 beta2 version now incompatible with openssl 1.1 because I just tried with openssl1.1 and it doesn't work any more?

        JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #4
        This post is deleted!
        1 Reply Last reply
        0
        • JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by
          #5

          https://doc-snapshots.qt.io/qt6-6.2/android-openssl-support.html

          1 Reply Last reply
          0
          • F Offline
            F Offline
            Francky033
            wrote on last edited by Francky033
            #6

            Thanks JoeCDF for the hints, but I had already followed these explanations for the previous version of my program, and everything worked correctly.
            I just have the impression that there was a change with Qt 6.5.0 beta2... but what...?

            The error message is not very explicit. How can I find out more about what's wrong?

            JoeCFDJ 1 Reply Last reply
            0
            • F Francky033

              Thanks JoeCDF for the hints, but I had already followed these explanations for the previous version of my program, and everything worked correctly.
              I just have the impression that there was a change with Qt 6.5.0 beta2... but what...?

              The error message is not very explicit. How can I find out more about what's wrong?

              JoeCFDJ Offline
              JoeCFDJ Offline
              JoeCFD
              wrote on last edited by JoeCFD
              #7

              @Francky033 then do not use Qt 6.5.0 and try the version which works. Not the latest version is the best. I have not switched to Qt6.

              F 1 Reply Last reply
              0
              • JoeCFDJ JoeCFD

                @Francky033 then do not use Qt 6.5.0 and try the version which works. Not the latest version is the best. I have not switched to Qt6.

                F Offline
                F Offline
                Francky033
                wrote on last edited by
                #8

                Ok. Thanks @JoeCFD !

                ekkescornerE 1 Reply Last reply
                0
                • L Offline
                  L Offline
                  Lilde
                  wrote on last edited by
                  #9

                  @Francky033 I have the same issue, have you found a workaround or post a ticket on bug tracker ?

                  1 Reply Last reply
                  0
                  • F Francky033

                    Ok. Thanks @JoeCFD !

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

                    @Francky033 you should oben a bugreport - so Qt knows about problem in 6.5 Beta

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

                    L 1 Reply Last reply
                    0
                    • ekkescornerE ekkescorner

                      @Francky033 you should oben a bugreport - so Qt knows about problem in 6.5 Beta

                      L Offline
                      L Offline
                      Lilde
                      wrote on last edited by Lilde
                      #11

                      I open the bug report : https://bugreports.qt.io/browse/QTBUG-110915
                      @Francky033 Please feel free to add comments about your try with openssl 3

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        Francky033
                        wrote on last edited by
                        #12

                        ok @Lilde !

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          Francky033
                          wrote on last edited by
                          #13

                          It works in the end! In fact, you have to rename libcryto.so to libcrypto_3.so and libssl.so to libssl_3.so

                          Thanks to all !

                          1 Reply Last reply
                          1
                          • R Offline
                            R Offline
                            RK Charles
                            wrote on last edited by
                            #14

                            @Francky033 said in Problem with openSSL and Qt 6.5.0 beta 2:

                            Thanks JoeCDF for the hints, but I had already followed these explanations for the previous version of my program, and everything worked correctly.
                            I just have the impression that there was a change with Qt 6.5.0 beta2... but what...?
                            The error message is not very explicit. How can I find out more about what's wrong?

                            Thank you for the suggestions, JoeCDF, but I had already followed these instructions for the previous version of my programme, and everything worked fine.
                            I just got the impression that something changed with Qt 6.5.0 beta2... but what...?

                            The error message isn't very clear. What can I do to learn more about what's wrong?

                            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