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. [SOLVED] Mysql driver not compile in QT 5.3 for Android
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Mysql driver not compile in QT 5.3 for Android

Scheduled Pinned Locked Moved Mobile and Embedded
19 Posts 5 Posters 8.5k 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.
  • D Offline
    D Offline
    dmitriiv84
    wrote on last edited by
    #10

    Hi, I'm trying unsuccessfully for a week to collect mysql driver for android, can I throw libmysql.so, will be very grateful. Or where there is a link to instructions on how to assemble.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      projetoslinux
      wrote on last edited by
      #11

      link to download mysql plugins for armv7
      http://www.adrive.com/public/vUYRMb/libqsqlmysql.so
      compiled in ubuntu 14.04 32bits

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dmitriiv84
        wrote on last edited by
        #12

        Thank you very much. but after much agonizing gathered under Ubuntu 14.04 amd64.
        And who knows how to build under windows?

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

          For Windows, please search the forum, it has been asked and answered many times already

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

            Please tell me exactly where I can not find this discussion, and I see Mr. forum only questions and no concrete answers.

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

              Did you first follow the guide from the documentation ? What error did you have ?

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

                In general, I can not find the assembly instructions for Android MySQL under Windows. And under Ubuntu 14.04 but I gathered when compiling the project, it gives the driver is available but not loaded. Under Ubuntu, collected according to the instructions https://qt-project.org/wiki/Build_Qt5_mysql_plugin_for_Android

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

                  You won't find them because officially, there's no MySQL client library for Android.

                  The guides provide instructions for MariaDB so you have that option, but if you want to save time, just follow the guide, then copy the needed resulting files to your Windows installation.

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

                    Thanks for the replies I will try. I would like to specify which files you want to copy -libqsqlmysql.so and libmariadb.so? Or need some other files?

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

                      It's all shown in the wiki entry you mentioned earlier

                      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

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved