Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Microsoft SQL Server DLL (QSQL3.dll) missing

    Mobile and Embedded
    2
    5
    1185
    Loading More Posts
    • 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.
    • J0nny
      J0nny last edited by J0nny

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • J0nny
          J0nny last edited by

          I am compyling with windows for an android app.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 1
            • J0nny
              J0nny last edited by

              Thanks for your help and the tipp with the bridge.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post