Raspberry Pi - QODBC Driver



  • 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



  • 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



  • sudo apt-get install libqt5sql5-odbc


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.