How to compile and get odbc sqldrivers for MSSQLSERVER in Qt5.



  • hi to all,

            I've installed Qt5.3.1 with MS Visual studio 2010 to use 
    

    visual studio library (or compiler) in Qt5.3.1. Now I want to build odbc driver
    for sqlserver 2008 r2, located in PATH :-

    bq. C:\Qt\Qt5.3.1\5.3\Src\qtbase\src\plugins\sqldrivers\odbc
    having file name "odbc.pro"

    I opened this file in QtCreator and run in Qt-IDE.

    after that Qt says no executables fond.

    bq. but found plugins in C:\plugins\sqldrivers :-
    qsqlodbc.dll,
    qsqlodbc.exp,
    qsqlodbc.lib,
    qsqlodbcd.dll,
    qsqlodbcd.exp,
    qsqlodbcd.ilk,
    qsqlodbcd.lib
    qsqlodbcd.pdb

    and the following :-

    bq. C:\lib\cmake\Qt5Sql\Qt5Sql_QODBCDriverPlugin.cmake

    and also :-

    bq. C:\mkspecs\modules\qt_plugin_qsqlodbc.pri

    &

    bq. C:\mkspecs\modules-inst\qt_plugin_qsqlodbc.pri

    What to do with these files.


Log in to reply
 

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