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. Android 64 bits SQLDrivers/OpenSSL
Forum Updated to NodeBB v4.3 + New Features

Android 64 bits SQLDrivers/OpenSSL

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
25 Posts 3 Posters 3.1k 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.
  • I Offline
    I Offline
    IRayman
    wrote on last edited by
    #6

    Hi @SGaist and thank you,

    My teacher's tutorial is in French :/ but here it is :
    https://anonfile.com/Y5S8H8s3n1/Tuto_-_Compiler_QMySQL_pour_Android_pdf

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

      Why does that website try to make me open a .dmg file ?

      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
      • I Offline
        I Offline
        IRayman
        wrote on last edited by
        #8

        @SGaist
        I don't know, I tried it and it's the good file, which is a PDF btw.
        Give me a website that you trust if you want ? Or maybe you need another format file ?

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

          Strange... This time it worked properly...

          First thing, do you have a 64 Qt Android build ?
          Also, ensure that you are using the NDK recommended in the Qt Android Getting Started guide matching the version you are using.

          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
          • I Offline
            I Offline
            IRayman
            wrote on last edited by
            #10

            @SGaist

            I'm using Qt 5.12 with NDK r19c and JDK 1.8.

            I have a 64 Qt Android build which work perfectly.

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

              Good, then what error are you getting currently ?

              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
              • I Offline
                I Offline
                IRayman
                wrote on last edited by IRayman
                #12

                Hey @SGaist,
                Here is the first error I'm facing with : https://postimg.cc/jnQ695rn
                Here is the config.log file : https://anonfile.com/v0V2N4senc/config_log

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

                  Are you sure the path to the compiler is correct ?

                  On a side note, the latest Android NDK switched to clang, you might want to use that compiler.

                  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
                  • I Offline
                    I Offline
                    IRayman
                    wrote on last edited by
                    #14

                    @SGaist,

                    Yes I would definetely want to use that compiler. If you could help me figure it out how to do it and what is needed to be change in the tutorial I have that would save my life.

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

                      Change the path you are using for the compiler to point to clang rather than gcc.

                      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
                      • I Offline
                        I Offline
                        IRayman
                        wrote on last edited by
                        #16

                        @SGaist,

                        Which path on my tutorial do you think I need to change (I didn't went after ./configure --host=$platform_sort --prefix=$SR/usr --with-sysroot=$SR on step Iconv)

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

                          Change the export CC="$BR"gcc to export CC="$BR"clang and the CPP equivalent to point to clang++

                          But first check in which folder you have clang located.

                          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
                          • I Offline
                            I Offline
                            IRayman
                            wrote on last edited by
                            #18

                            @SGaist,

                            Yes that's what I'm trying to find but I can't find it I don't know why

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

                              Find what ? The clang executable ? If so, how are you searching it ? What version of the NDK are your using ?

                              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
                              • I Offline
                                I Offline
                                IRayman
                                wrote on last edited by
                                #20

                                @SGaist
                                I found it, i'm using NDK R19C

                                1 Reply Last reply
                                0
                                • I Offline
                                  I Offline
                                  IRayman
                                  wrote on last edited by
                                  #21

                                  @SGaist,

                                  I'm still getting the same error

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

                                    Do you mean in the log ?

                                    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
                                    • I Offline
                                      I Offline
                                      IRayman
                                      wrote on last edited by
                                      #23

                                      @SGaist,

                                      Yes, and same error 1 as in the screen

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

                                        Did you try to manually compile something with your NDK (it should work but just in case) ?

                                        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
                                        • I Offline
                                          I Offline
                                          IRayman
                                          wrote on last edited by
                                          #25

                                          @SGaist,

                                          What do you mean by that ?

                                          I can compile android apps using this NDK if that's what you want to know

                                          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