Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Raspberry Pi - QODBC Driver
Qt 6.11 is out! See what's new in the release blog

Raspberry Pi - QODBC Driver

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 4.1k 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.
  • B Offline
    B Offline
    batrashish
    wrote on last edited by
    #1

    hello,
    I am trying to make a QT GUI application.
    In that Application, I need to fetch and update Data from/to MS SQL server.

    For that, I need the QODBC driver.

    Please help me how to install QODBC Driver in Raspberry PI.

    Regards,
    Ashish

    1 Reply Last reply
    0
    • B Offline
      B Offline
      batrashish
      wrote on last edited by
      #2

      Hello,
      I have, successfully, installed UNIXODBC and FreeTDS on my Raspberry PI.
      I want to use them for connecting to my MS SQL Server Database.

      I am sure that this is done properly, since I am able to access my Datbase tables from the command prompt using :
      $ tsql -S serverIP -U sql-username -P password

      However, I do not know how to use this information in my QT program, so that I can access the information in my QT program.

      Please let me know from where does QT get the path of ODBC drivers? And how to add the path of FreeTDS and UNIXODBC in that path?

      Regards,
      Ashish

      1 Reply Last reply
      0
      • aniketRoxyA Offline
        aniketRoxyA Offline
        aniketRoxy
        wrote on last edited by
        #3

        sudo apt-get install libqt5sql5-odbc

        Aniket Gadekar

        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