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. Microsoft SQL Server DLL (QSQL3.dll) missing
QtWS25 Last Chance

Microsoft SQL Server DLL (QSQL3.dll) missing

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 1.5k Views
  • 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.
  • J0nnyJ Offline
    J0nnyJ Offline
    J0nny
    wrote on last edited by J0nny
    #1

    I have the following problem:
    I want to connect my mobile andoid device with an online SQL database. I searched a lot and the problem is that i have not the necessary driver (qmysyl3.dll). In the path for the divers are only the 3 following:
    qsqlite.dll
    qsqlmysql.dll
    qsqlpsql.dll

    the compiler shows the following output:
    QSqlDatabase: QODBC driver not loaded
    QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QPSQL QPSQL7

    is there any possibility to download the dll for MS SQL or to create it myself?

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

      Hi,

      There's something not clear here. You are talking about connecting an Android device, yet you mention Windows .dlls.

      As for Windows ODBC, you currently need to build it yourself depending on your Qt version. As for the build instructions they are provided here

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

        I am compyling with windows for an android app.

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

          You can't use Windows .dlls for Android.

          Also there's no native support for ODBC on Android, you'll have to use a JDBC-ODBC bridge and from Qt use JNI.

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

            Thanks for your help and the tipp with the bridge.

            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