Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to compile Qt's MySQL driver for the iOS
Forum Updated to NodeBB v4.3 + New Features

How to compile Qt's MySQL driver for the iOS

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 2 Posters 1.6k 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.
  • P Offline
    P Offline
    philippeb8
    wrote on last edited by
    #1

    I would like to know if anybody is able to compile the Qt's MySQL driver for the iOS? I see a howto here: http://qt.developpez.com/doc/4.7/sql-driver/

    But I heard the driver needs to be compiled statically for the iOS. Does anybody know how to do this?

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

      Hi,

      AFAIK, there are no iOS MySQL client libraries. You may have luck building the MariaDB client libraries and use it to build Qt's MySQL plugin. However, if you plan to connect to such a database over internet, you should reconsider your design. Opening a database directly over internet is a very bad idea security wise.

      What is recommended is to implement a REST service that will provide what you need to communicate with your database. That way you'll also be independent of the technology you'll be using for the database.

      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
      • P Offline
        P Offline
        philippeb8
        wrote on last edited by
        #3

        Thanks for the information. But I don't understand why a database connection over the internet is insecure if you use SSL?

        Also would you have more instructions on how to build the MariaDB client libraries in order to build Qt's MySQL plugin?

        Regards,
        -Phil

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

          That's one layer of security, yes. However, like I said before exposing databases over internet for ease of use is usually a bad idea.

          I don't have that at hand no, you should check with the MariaDB folks.

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

            Ok thanks a lot!

            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